#2F4416#2F4416

#2F4416 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.075 H 130.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2F4416
RGBrgb(47, 68, 22)
HSLhsl(87, 51%, 18%)
HSVhsv(87, 68%, 27%)
CMYKcmyk(30.9%, 0%, 67.6%, 73.3%)
CIE-LABlab(26.15, -17.18, 24.65)
CIE-LCHlch(26.15, 30.05, 124.86°)
OKLaboklab(35.75% -0.0483 0.0573)
OKLCHoklch(35.75% 0.075 130.1)
XYZxyz(3.3842, 4.7964, 1.5064)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4416 #2B1644
analogous
#444216 #2F4416 #184416
triadic
#2F4416 #162F44 #44162F
tetradic
#2F4416 #164442 #2B1644 #441618
square
#2F4416 #164442 #2B1644 #441618
split-complementary
#2F4416 #161844 #421644
monochromatic
#101707 #101707 #2F4416 #4F7225 #6FA034

Accessibility & contrast

On white

10.72
#2F4416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2F4416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4416
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4416#FFFFFF#000000##FFFFFF
##2F44161.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F11
Deuteranopia (green-blind)
#443D19
Tritanopia (blue-blind)
#30413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f4416;
/* rgb */ color: rgb(47, 68, 22);
/* oklch */ color: oklch(35.7% 0.075 130.1);
Tailwind
colors: {
  custom: {
    50: '#697855',
    500: '#2f4416',
    950: '#000000',
  },
}
SCSS
$custom: #2f4416;
$custom-light: #697855;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4416",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 22
  },
  "hsl": {
    "h": 87.391,
    "s": 51.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35747,
    "c": 0.07488,
    "h": 130.1
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#2F4416
secondary
#583A7B
accent
#4DDB8E
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4416

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

Preview Lab → · Contrast checker → · Palette generator →

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