#2F3E08#2F3E08

#2F3E08 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.077 H 124.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2F3E08
RGBrgb(47, 62, 8)
HSLhsl(77, 77%, 14%)
HSVhsv(77, 87%, 24%)
CMYKcmyk(24.2%, 0%, 87.1%, 75.7%)
CIE-LABlab(23.89, -15.02, 28.89)
CIE-LCHlch(23.89, 32.56, 117.46°)
OKLaboklab(33.88% -0.0438 0.0639)
OKLCHoklch(33.88% 0.077 124.4)
XYZxyz(2.9388, 4.0671, 0.8599)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E08 #17083E
analogous
#3E3208 #2F3E08 #143E08
triadic
#2F3E08 #082F3E #3E082F
tetradic
#2F3E08 #083E32 #17083E #3E0814
square
#2F3E08 #083E32 #17083E #3E0814
split-complementary
#2F3E08 #08143E #32083E
monochromatic
#151B03 #151B03 #2F3E08 #58740F #81AA16

Accessibility & contrast

On white

11.58
#2F3E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2F3E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E08
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E08#FFFFFF#000000##FFFFFF
##2F3E081.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#40390D
Tritanopia (blue-blind)
#323A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3e08;
/* rgb */ color: rgb(47, 62, 8);
/* oklch */ color: oklch(33.9% 0.077 124.4);
Tailwind
colors: {
  custom: {
    50: '#6a734c',
    500: '#2f3e08',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e08;
$custom-light: #6a734c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e08",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 76.667,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3388,
    "c": 0.07746,
    "h": 124.4
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#2F3E08
secondary
#3D257D
accent
#34F469
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2F3E08

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

Preview Lab → · Contrast checker → · Palette generator →

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