#2F451B#2F451B

#2F451B is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.1% C 0.071 H 132.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2F451B
RGBrgb(47, 69, 27)
HSLhsl(91, 44%, 19%)
HSVhsv(91, 61%, 27%)
CMYKcmyk(31.9%, 0%, 60.9%, 72.9%)
CIE-LABlab(26.56, -17.14, 22.38)
CIE-LCHlch(26.56, 28.19, 127.45°)
OKLaboklab(36.1% -0.0477 0.0529)
OKLCHoklch(36.1% 0.071 132)
XYZxyz(3.4982, 4.9396, 1.8058)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F451B #311B45
analogous
#44451B #2F451B #1B451C
triadic
#2F451B #1B2F45 #451B2F
tetradic
#2F451B #1B4445 #311B45 #451C1B
square
#2F451B #1B4445 #311B45 #451C1B
split-complementary
#2F451B #1C1B45 #451B44
monochromatic
#0F1609 #11190A #2F451B #4D712C #6B9D3D

Accessibility & contrast

On white

10.56
#2F451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F451B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F451B
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F451B#FFFFFF#000000##FFFFFF
##2F451B1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484017
Deuteranopia (green-blind)
#453E1E
Tritanopia (blue-blind)
#30423C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f451b;
/* rgb */ color: rgb(47, 69, 27);
/* oklch */ color: oklch(36.1% 0.071 132.0);
Tailwind
colors: {
  custom: {
    50: '#697859',
    500: '#2f451b',
    950: '#000000',
  },
}
SCSS
$custom: #2f451b;
$custom-light: #697859;
$custom-dark: #000000;
JSON
{
  "hex": "#2f451b",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 91.429,
    "s": 43.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36104,
    "c": 0.07125,
    "h": 132
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#2F451B
secondary
#5F417B
accent
#54D397
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F451B

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

Preview Lab → · Contrast checker → · Palette generator →

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