#2F3D08#2F3D08

#2F3D08 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.076 H 123.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2F3D08
RGBrgb(47, 61, 8)
HSLhsl(76, 77%, 14%)
HSVhsv(76, 87%, 24%)
CMYKcmyk(23%, 0%, 86.9%, 76.1%)
CIE-LABlab(23.54, -14.45, 28.54)
CIE-LCHlch(23.54, 31.99, 116.85°)
OKLaboklab(33.59% -0.0422 0.0632)
OKLCHoklch(33.59% 0.076 123.7)
XYZxyz(2.8849, 3.9593, 0.8419)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D08 #16083D
analogous
#3D3008 #2F3D08 #143D08
triadic
#2F3D08 #082F3D #3D082F
tetradic
#2F3D08 #083D30 #16083D #3D0814
square
#2F3D08 #083D30 #16083D #3D0814
split-complementary
#2F3D08 #08143D #30083D
monochromatic
#151B04 #151B04 #2F3D08 #59730F #82A916

Accessibility & contrast

On white

11.72
#2F3D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2F3D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3D08
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D08#FFFFFF#000000##FFFFFF
##2F3D081.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413801
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#323933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3d08;
/* rgb */ color: rgb(47, 61, 8);
/* oklch */ color: oklch(33.6% 0.076 123.7);
Tailwind
colors: {
  custom: {
    50: '#6a724c',
    500: '#2f3d08',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d08;
$custom-light: #6a724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d08",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 75.849,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33592,
    "c": 0.07601,
    "h": 123.7
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#2F3D08
secondary
#3C257C
accent
#34F367
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2F3D08

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

Preview Lab → · Contrast checker → · Palette generator →

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