#2F4412#2F4412

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

Color values

HEX#2F4412
RGBrgb(47, 68, 18)
HSLhsl(85, 58%, 17%)
HSVhsv(85, 74%, 27%)
CMYKcmyk(30.9%, 0%, 73.5%, 73.3%)
CIE-LABlab(26.11, -17.57, 26.66)
CIE-LCHlch(26.11, 31.94, 123.39°)
OKLaboklab(35.7% -0.0498 0.0609)
OKLCHoklch(35.7% 0.079 129.2)
XYZxyz(3.3486, 4.7822, 1.3188)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4412 #271244
analogous
#444012 #2F4412 #164412
triadic
#2F4412 #122F44 #44122F
tetradic
#2F4412 #124440 #271244 #441216
square
#2F4412 #124440 #271244 #441216
split-complementary
#2F4412 #121644 #401244
monochromatic
#111806 #111806 #2F4412 #50741F #72A52C

Accessibility & contrast

On white

10.73
#2F4412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4412
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4412#FFFFFF#000000##FFFFFF
##2F44121.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#453D16
Tritanopia (blue-blind)
#31413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f4412;
/* rgb */ color: rgb(47, 68, 18);
/* oklch */ color: oklch(35.7% 0.079 129.2);
Tailwind
colors: {
  custom: {
    50: '#697853',
    500: '#2f4412',
    950: '#000000',
  },
}
SCSS
$custom: #2f4412;
$custom-light: #697853;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4412",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 85.2,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.357,
    "c": 0.07867,
    "h": 129.2
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#2F4412
secondary
#53357D
accent
#46E188
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2F4412

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

Preview Lab → · Contrast checker → · Palette generator →

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