#2F3C08#2F3C08

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

Color values

HEX#2F3C08
RGBrgb(47, 60, 8)
HSLhsl(75, 76%, 13%)
HSVhsv(75, 87%, 24%)
CMYKcmyk(21.7%, 0%, 86.7%, 76.5%)
CIE-LABlab(23.18, -13.88, 28.18)
CIE-LCHlch(23.18, 31.41, 116.22°)
OKLaboklab(33.31% -0.0406 0.0625)
OKLCHoklch(33.31% 0.075 123)
XYZxyz(2.8320, 3.8536, 0.8243)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C08 #15083C
analogous
#3C2F08 #2F3C08 #153C08
triadic
#2F3C08 #082F3C #3C082F
tetradic
#2F3C08 #083C2F #15083C #3C0815
square
#2F3C08 #083C2F #15083C #3C0815
split-complementary
#2F3C08 #08153C #2F083C
monochromatic
#151B04 #151B04 #2F3C08 #59720F #84A816

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3C08#FFFFFF#000000##FFFFFF
##2F3C081.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)
#403801
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#323832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c08;
/* rgb */ color: rgb(47, 60, 8);
/* oklch */ color: oklch(33.3% 0.075 123.0);
Tailwind
colors: {
  custom: {
    50: '#6a714c',
    500: '#2f3c08',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c08;
$custom-light: #6a714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c08",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 75,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.07456,
    "h": 123
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#2F3C08
secondary
#3B257B
accent
#35F364
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3C08

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

Preview Lab → · Contrast checker → · Palette generator →

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