#2F3C09#2F3C09

#2F3C09 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.074 H 123.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2F3C09
RGBrgb(47, 60, 9)
HSLhsl(75, 74%, 14%)
HSVhsv(75, 85%, 24%)
CMYKcmyk(21.7%, 0%, 85%, 76.5%)
CIE-LABlab(23.19, -13.81, 27.78)
CIE-LCHlch(23.19, 31.02, 116.43°)
OKLaboklab(33.31% -0.0403 0.0618)
OKLCHoklch(33.31% 0.074 123.1)
XYZxyz(2.8375, 3.8558, 0.8531)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C09 #16093C
analogous
#3C2F09 #2F3C09 #153C09
triadic
#2F3C09 #092F3C #3C092F
tetradic
#2F3C09 #093C2F #16093C #3C0915
square
#2F3C09 #093C2F #16093C #3C0915
split-complementary
#2F3C09 #09153C #2F093C
monochromatic
#151B04 #151B04 #2F3C09 #597111 #82A619

Accessibility & contrast

On white

11.86
#2F3C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F3C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3C09
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C09#FFFFFF#000000##FFFFFF
##2F3C091.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403802
Deuteranopia (green-blind)
#3E370E
Tritanopia (blue-blind)
#323932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c09;
/* rgb */ color: rgb(47, 60, 9);
/* oklch */ color: oklch(33.3% 0.074 123.1);
Tailwind
colors: {
  custom: {
    50: '#69714d',
    500: '#2f3c09',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c09;
$custom-light: #69714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c09",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 9
  },
  "hsl": {
    "h": 75.294,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33313,
    "c": 0.07381,
    "h": 123.1
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#2F3C09
secondary
#3C277A
accent
#37F166
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3C09

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F3C09 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva