#2F4B16#2F4B16

#2F4B16 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.086 H 132.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2F4B16
RGBrgb(47, 75, 22)
HSLhsl(92, 55%, 19%)
HSVhsv(92, 71%, 29%)
CMYKcmyk(37.3%, 0%, 70.7%, 70.6%)
CIE-LABlab(28.63, -20.90, 27.39)
CIE-LCHlch(28.63, 34.45, 127.34°)
OKLaboklab(37.76% -0.0585 0.0631)
OKLCHoklch(37.76% 0.086 132.8)
XYZxyz(3.8331, 5.6943, 1.6560)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B16 #32164B
analogous
#4A4B16 #2F4B16 #164B18
triadic
#2F4B16 #162F4B #4B162F
tetradic
#2F4B16 #164A4B #32164B #4B1816
square
#2F4B16 #164A4B #32164B #4B1816
split-complementary
#2F4B16 #18164B #4B164A
monochromatic
#0F1807 #111C08 #2F4B16 #4D7A24 #6AAA32

Accessibility & contrast

On white

9.82
#2F4B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F4B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B16
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B16#FFFFFF#000000##FFFFFF
##2F4B161.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450F
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#2F4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4b16;
/* rgb */ color: rgb(47, 75, 22);
/* oklch */ color: oklch(37.8% 0.086 132.8);
Tailwind
colors: {
  custom: {
    50: '#6a7d56',
    500: '#2f4b16',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b16;
$custom-light: #6a7d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b16",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 22
  },
  "hsl": {
    "h": 91.698,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37764,
    "c": 0.086,
    "h": 132.8
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#2F4B16
secondary
#603A83
accent
#4ADE98
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #2F4B16

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

Preview Lab → · Contrast checker → · Palette generator →

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