RAL Classic color

RAL 6009 Fir green #27352A

RAL 6009 Fir green is shown here as #27352A, a widely published sRGB approximation of the printed swatch. It is a dark grayish green in the neutral family. In OKLCH it sits at lightness 0.313, chroma 0.027 and hue 151.1°. The nearest CSS named color is darkslategray (#2F4F4F), ΔE2000 11.0 away.

Relative luminance
0.0314
OKLCH L · C · h
0.313 · 0.027 · 151.1
Best text
White 12.89:1
Hue family
Neutral

#27352A color codes

HEX
#27352A
RGB
rgb(39, 53, 42)
HSL
hsl(133, 15%, 18%)
OKLCH
oklch(0.313 0.027 151.1)
OKLab
oklab(0.313 -0.024 0.013)
CIELAB (D65)
L* 20.61, a* -8.58, b* 5.07
XYZ (D65)
X 2.53, Y 3.14, Z 2.66
CMYK (naive)
cmyk(26%, 0%, 21%, 79%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #27352A accessible?

White text on it reaches 12.89:1, passing AAA. Black text fails at 1.62:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    1.62:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0
  • White text on it

    12.89:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −102
  • As text on black

    1.62:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0
  • As text on white

    12.89:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +99

Nearest versions that pass 4.5:1

  • For text on white

    #27352A 12.89:1

    It already reaches 12.89:1 on white, so no change is needed.

  • For text on black

    #69796C 4.55:1

    Lightening its OKLCH lightness from 0.31 to 0.56 reaches 4.55:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #27352A live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #27352A

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #27352A sits at step 900.

  1. 50#EBFAEE
    White
    1.08
    Black
    19.44
  2. 100#E1F0E4
    White
    1.18
    Black
    17.78
  3. 200#CDDCD0
    White
    1.42
    Black
    14.74
  4. 300#B3C3B6
    White
    1.84
    Black
    11.39
  5. 400#96A799
    White
    2.53
    Black
    8.28
  6. 500#7B8B7E
    White
    3.59
    Black
    5.83
  7. 600#647367
    White
    5.01
    Black
    4.19
  8. 700#4E5C51
    White
    7.06
    Black
    2.97
  9. 800#364439
    White
    10.28
    Black
    2.04
  10. 900This color#27352A
    White
    12.89
    Black
    1.62
  11. 950#0F1911
    White
    17.98
    Black
    1.16

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #27352A can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.084; #27352A uses 32% of it. Display P3, which many recent phones and laptops show, reaches 0.117 there: 39% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.027
sRGB edge
0.084
Display P3 edge
0.117
Rec. 2020 edge
0.168
Dominant wavelength
540 nm
Excitation purity
11%
Chromaticity
x 0.3032, y 0.3772
  • This color#27352A
  • Most vivid in sRGB#003C19
  • Most vivid in Display P3oklch(0.313 0.117 151.1)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #27352a;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0 0.2451 0.073); }
}

Mixing

Mixing #27352A

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#939A95
  • OKLab50%#8B948D
  • OKLCH50%#8B948D

Black #000000

  • sRGB50%#141B15
  • OKLab50%#080E0A
  • OKLCH50%#080E0A

Its complement #392C37

  • sRGB50%#303131
  • OKLab50%#313131
  • OKLCH50%#3B2E23
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #27352a, white);
color: color-mix(in oklch, #27352a 50%, white);

In use

#27352A in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:112.89:1 Passes
  • Link and body-size textText, 4.5:112.89:1 Passes
  • Large headingLarge text, 3:112.89:1 Passes
  • Icons, borders and focus ringsNon-text, 3:112.89:1 Passes

Dark page

  • Button labelText, 4.5:112.89:1 Passes
  • Link and body-size textText, 4.5:11.45:1 Fails
  • Large headingLarge text, 3:11.45:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.45:1 Fails

For text on this page, the nearest shade that passes is #718174 4.54:1

Color vision

How #27352A looks with color blindness

Achromatopsia changes it most, ΔE2000 10.5; tritanopia changes it least, 5.0.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #353329 ΔE2000 8.7

    Noticeable

    Reads as dark gray

  • Deuteranopia

    No working green (medium-wavelength) cones

    #33312B ΔE2000 9.4

    Noticeable

    Reads as dark gray

  • Tritanopia

    No working blue (short-wavelength) cones

    #253432 ΔE2000 5.0

    Noticeable

    Reads as dark grayish teal

  • Achromatopsia

    No cone color vision; lightness only

    #323232 ΔE2000 10.5

    Distinct

    Reads as dark gray

Pairing check

A near-neutral has no complementary hue to pair with, so tell it apart from neighboring grays by lightness contrast alone.

Harmony

Color harmonies for #27352A

Its complement is #392C37, a dark grayish magenta.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#27352A
  • Complement#392C37

Complementary

Open in Harmony Studio
  • −30°#2F3324
  • Base#27352A
  • +30°#213632
  • Base#27352A
  • +120°#2C303F
  • +240°#3E2C29
  • Base#27352A
  • +150°#332E3D
  • +210°#3D2B30

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-6009: #27352a;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-6009': '#27352a',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-6009: oklch(0.313 0.027 151.1);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-6009": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.1529, 0.2078, 0.1647],
        "hex": "#27352a"
      },
      "$description": "RAL 6009 Fir green (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral6009 = Color(.sRGB, red: 0.153, green: 0.208, blue: 0.165, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral6009 = Color(0xFF27352A)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #27352A in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.