#2F4418#2F4418

#2F4418 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.073 H 130.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2F4418
RGBrgb(47, 68, 24)
HSLhsl(89, 48%, 18%)
HSVhsv(89, 65%, 27%)
CMYKcmyk(30.9%, 0%, 64.7%, 73.3%)
CIE-LABlab(26.17, -16.95, 23.60)
CIE-LCHlch(26.17, 29.06, 125.69°)
OKLaboklab(35.77% -0.0474 0.0553)
OKLCHoklch(35.77% 0.073 130.7)
XYZxyz(3.4042, 4.8044, 1.6120)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4418 #2D1844
analogous
#444318 #2F4418 #194418
triadic
#2F4418 #182F44 #44182F
tetradic
#2F4418 #184443 #2D1844 #441819
square
#2F4418 #184443 #2D1844 #441819
split-complementary
#2F4418 #181944 #431844
monochromatic
#101708 #101708 #2F4418 #4E7128 #6E9E38

Accessibility & contrast

On white

10.71
#2F4418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4418
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4418#FFFFFF#000000##FFFFFF
##2F44181.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4418;
/* rgb */ color: rgb(47, 68, 24);
/* oklch */ color: oklch(35.8% 0.073 130.7);
Tailwind
colors: {
  custom: {
    50: '#697856',
    500: '#2f4418',
    950: '#000000',
  },
}
SCSS
$custom: #2f4418;
$custom-light: #697856;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4418",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 24
  },
  "hsl": {
    "h": 88.636,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.35774,
    "c": 0.07282,
    "h": 130.7
  },
  "luminance": 0.04805
}

Semantic roles & 50–950 ramp

primary
#2F4418
secondary
#5B3D7B
accent
#50D791
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4418

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

Preview Lab → · Contrast checker → · Palette generator →

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