#2F3B08#2F3B08

#2F3B08 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 33.0% C 0.073 H 122.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#2F3B08
RGBrgb(47, 59, 8)
HSLhsl(74, 76%, 13%)
HSVhsv(74, 86%, 23%)
CMYKcmyk(20.3%, 0%, 86.4%, 76.9%)
CIE-LABlab(22.83, -13.30, 27.81)
CIE-LCHlch(22.83, 30.83, 115.56°)
OKLaboklab(33.02% -0.0391 0.0618)
OKLCHoklch(33.02% 0.073 122.3)
XYZxyz(2.7801, 3.7498, 0.8070)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B08 #14083B
analogous
#3B2D08 #2F3B08 #153B08
triadic
#2F3B08 #082F3B #3B082F
tetradic
#2F3B08 #083B2D #14083B #3B0815
square
#2F3B08 #083B2D #14083B #3B0815
split-complementary
#2F3B08 #08153B #2D083B
monochromatic
#151B04 #151B04 #2F3B08 #5A710F #85A717

Accessibility & contrast

On white

12.00
#2F3B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2F3B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B08
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B08#FFFFFF#000000##FFFFFF
##2F3B081.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3701
Deuteranopia (green-blind)
#3E360D
Tritanopia (blue-blind)
#323731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3b08;
/* rgb */ color: rgb(47, 59, 8);
/* oklch */ color: oklch(33.0% 0.073 122.3);
Tailwind
colors: {
  custom: {
    50: '#69714c',
    500: '#2f3b08',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b08;
$custom-light: #69714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b08",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 8
  },
  "hsl": {
    "h": 74.118,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33018,
    "c": 0.07311,
    "h": 122.3
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#2F3B08
secondary
#39257A
accent
#35F362
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3B08

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

Preview Lab → · Contrast checker → · Palette generator →

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