#2F3A0B#2F3A0B

#2F3A0B is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.069 H 121.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2F3A0B
RGBrgb(47, 58, 11)
HSLhsl(74, 68%, 14%)
HSVhsv(74, 81%, 23%)
CMYKcmyk(19%, 0%, 81%, 77.3%)
CIE-LABlab(22.50, -12.51, 26.24)
CIE-LCHlch(22.50, 29.06, 115.49°)
OKLaboklab(32.76% -0.0366 0.0589)
OKLCHoklch(32.76% 0.069 121.8)
XYZxyz(2.7458, 3.6546, 0.8773)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A0B #160B3A
analogous
#3A2D0B #2F3A0B #173A0B
triadic
#2F3A0B #0B2F3A #3A0B2F
tetradic
#2F3A0B #0B3A2D #160B3A #3A0B17
square
#2F3A0B #0B3A2D #160B3A #3A0B17
split-complementary
#2F3A0B #0B173A #2D0B3A
monochromatic
#151A05 #151A05 #2F3A0B #596D15 #82A11F

Accessibility & contrast

On white

12.13
#2F3A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F3A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A0B
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A0B#FFFFFF#000000##FFFFFF
##2F3A0B1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3a0b;
/* rgb */ color: rgb(47, 58, 11);
/* oklch */ color: oklch(32.8% 0.069 121.8);
Tailwind
colors: {
  custom: {
    50: '#69704d',
    500: '#2f3a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a0b;
$custom-light: #69704d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a0b",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 74.043,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32758,
    "c": 0.06932,
    "h": 121.8
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#2F3A0B
secondary
#3C2A77
accent
#3DEB66
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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