#2F451C#2F451C

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

Color values

HEX#2F451C
RGBrgb(47, 69, 28)
HSLhsl(92, 42%, 19%)
HSVhsv(92, 59%, 27%)
CMYKcmyk(31.9%, 0%, 59.4%, 72.9%)
CIE-LABlab(26.58, -17.01, 21.83)
CIE-LCHlch(26.58, 27.67, 127.93°)
OKLaboklab(36.12% -0.0472 0.0518)
OKLCHoklch(36.12% 0.07 132.3)
XYZxyz(3.5100, 4.9443, 1.8678)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F451C #321C45
analogous
#44451C #2F451C #1C451E
triadic
#2F451C #1C2F45 #451C2F
tetradic
#2F451C #1C4445 #321C45 #451E1C
square
#2F451C #1C4445 #321C45 #451E1C
split-complementary
#2F451C #1E1C45 #451C44
monochromatic
#0F1609 #11190A #2F451C #4D712E #6A9C3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F451C#FFFFFF#000000##FFFFFF
##2F451C1.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)
#484018
Deuteranopia (green-blind)
#453E1F
Tritanopia (blue-blind)
#30423C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f451c;
/* rgb */ color: rgb(47, 69, 28);
/* oklch */ color: oklch(36.1% 0.070 132.3);
Tailwind
colors: {
  custom: {
    50: '#697859',
    500: '#2f451c',
    950: '#000000',
  },
}
SCSS
$custom: #2f451c;
$custom-light: #697859;
$custom-dark: #000000;
JSON
{
  "hex": "#2f451c",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 28
  },
  "hsl": {
    "h": 92.195,
    "s": 42.268,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36119,
    "c": 0.07012,
    "h": 132.3
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#2F451C
secondary
#60427A
accent
#56D298
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F451C

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

Preview Lab → · Contrast checker → · Palette generator →

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