#2F451D#2F451D

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

Color values

HEX#2F451D
RGBrgb(47, 69, 29)
HSLhsl(93, 41%, 19%)
HSVhsv(93, 58%, 27%)
CMYKcmyk(31.9%, 0%, 58%, 72.9%)
CIE-LABlab(26.59, -16.88, 21.27)
CIE-LCHlch(26.59, 27.15, 128.44°)
OKLaboklab(36.14% -0.0468 0.0507)
OKLCHoklch(36.14% 0.069 132.7)
XYZxyz(3.5221, 4.9492, 1.9319)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F451D #331D45
analogous
#43451D #2F451D #1D451F
triadic
#2F451D #1D2F45 #451D2F
tetradic
#2F451D #1D4345 #331D45 #451F1D
square
#2F451D #1D4345 #331D45 #451F1D
split-complementary
#2F451D #1F1D45 #451D43
monochromatic
#0F1609 #121A0B #2F451D #4C702F #6A9B41

Accessibility & contrast

On white

10.55
#2F451D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F451D
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F451D#FFFFFF#000000##FFFFFF
##2F451D1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484019
Deuteranopia (green-blind)
#453E20
Tritanopia (blue-blind)
#2F423C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f451d;
/* rgb */ color: rgb(47, 69, 29);
/* oklch */ color: oklch(36.1% 0.069 132.7);
Tailwind
colors: {
  custom: {
    50: '#69785a',
    500: '#2f451d',
    950: '#000000',
  },
}
SCSS
$custom: #2f451d;
$custom-light: #69785a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f451d",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 29
  },
  "hsl": {
    "h": 93,
    "s": 40.816,
    "l": 19.216
  },
  "oklch": {
    "l": 0.36135,
    "c": 0.06898,
    "h": 132.7
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#2F451D
secondary
#62447A
accent
#57D19A
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2F451D

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

Preview Lab → · Contrast checker → · Palette generator →

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