#2F3B0B#2F3B0B

#2F3B0B is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.071 H 122.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#2F3B0B
RGBrgb(47, 59, 11)
HSLhsl(75, 69%, 14%)
HSVhsv(75, 81%, 23%)
CMYKcmyk(20.3%, 0%, 81.4%, 76.9%)
CIE-LABlab(22.85, -13.09, 26.60)
CIE-LCHlch(22.85, 29.65, 116.20°)
OKLaboklab(33.04% -0.0382 0.0597)
OKLCHoklch(33.04% 0.071 122.6)
XYZxyz(2.7967, 3.7564, 0.8943)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B0B #170B3B
analogous
#3B2F0B #2F3B0B #173B0B
triadic
#2F3B0B #0B2F3B #3B0B2F
tetradic
#2F3B0B #0B3B2F #170B3B #3B0B17
square
#2F3B0B #0B3B2F #170B3B #3B0B17
split-complementary
#2F3B0B #0B173B #2F0B3B
monochromatic
#151A05 #151A05 #2F3B0B #586F15 #81A21E

Accessibility & contrast

On white

11.99
#2F3B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3B0B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B0B#FFFFFF#000000##FFFFFF
##2F3B0B1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3704
Deuteranopia (green-blind)
#3D360F
Tritanopia (blue-blind)
#323832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3b0b;
/* rgb */ color: rgb(47, 59, 11);
/* oklch */ color: oklch(33.0% 0.071 122.6);
Tailwind
colors: {
  custom: {
    50: '#69714d',
    500: '#2f3b0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b0b;
$custom-light: #69714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b0b",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 11
  },
  "hsl": {
    "h": 75,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33044,
    "c": 0.07082,
    "h": 122.6
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#2F3B0B
secondary
#3D2A78
accent
#3CEB68
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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