#2F451F#2F451F

#2F451F is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.067 H 133.5°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2F451F
RGBrgb(47, 69, 31)
HSLhsl(95, 38%, 20%)
HSVhsv(95, 55%, 27%)
CMYKcmyk(31.9%, 0%, 55.1%, 72.9%)
CIE-LABlab(26.62, -16.60, 20.13)
CIE-LCHlch(26.62, 26.10, 129.51°)
OKLaboklab(36.17% -0.0459 0.0484)
OKLCHoklch(36.17% 0.067 133.5)
XYZxyz(3.5477, 4.9594, 2.0664)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F451F #351F45
analogous
#42451F #2F451F #1F4522
triadic
#2F451F #1F2F45 #451F2F
tetradic
#2F451F #1F4245 #351F45 #45221F
square
#2F451F #1F4245 #351F45 #45221F
split-complementary
#2F451F #221F45 #451F42
monochromatic
#0E1509 #121B0C #2F451F #4C6F32 #699945

Accessibility & contrast

On white

10.54
#2F451F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F451F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F451F#FFFFFF#000000##FFFFFF
##2F451F1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401C
Deuteranopia (green-blind)
#443E21
Tritanopia (blue-blind)
#2F423C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f451f;
/* rgb */ color: rgb(47, 69, 31);
/* oklch */ color: oklch(36.2% 0.067 133.5);
Tailwind
colors: {
  custom: {
    50: '#69785b',
    500: '#2f451f',
    950: '#000000',
  },
}
SCSS
$custom: #2f451f;
$custom-light: #69785b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f451f",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 31
  },
  "hsl": {
    "h": 94.737,
    "s": 38,
    "l": 19.608
  },
  "oklch": {
    "l": 0.36168,
    "c": 0.06665,
    "h": 133.5
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#2F451F
secondary
#644679
accent
#5ACE9D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2F451F

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

Preview Lab → · Contrast checker → · Palette generator →

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