#2F451E#2F451E

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

Color values

HEX#2F451E
RGBrgb(47, 69, 30)
HSLhsl(94, 39%, 19%)
HSVhsv(94, 57%, 27%)
CMYKcmyk(31.9%, 0%, 56.5%, 72.9%)
CIE-LABlab(26.60, -16.74, 20.70)
CIE-LCHlch(26.60, 26.63, 128.97°)
OKLaboklab(36.15% -0.0463 0.0495)
OKLCHoklch(36.15% 0.068 133.1)
XYZxyz(3.5347, 4.9542, 1.9981)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F451E #341E45
analogous
#43451E #2F451E #1E4521
triadic
#2F451E #1E2F45 #451E2F
tetradic
#2F451E #1E4345 #341E45 #45211E
square
#2F451E #1E4345 #341E45 #45211E
split-complementary
#2F451E #211E45 #451E43
monochromatic
#0F1509 #121A0B #2F451E #4C7031 #699A43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F451E#FFFFFF#000000##FFFFFF
##2F451E1.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)
#48401B
Deuteranopia (green-blind)
#453E20
Tritanopia (blue-blind)
#2F423C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f451e;
/* rgb */ color: rgb(47, 69, 30);
/* oklch */ color: oklch(36.2% 0.068 133.1);
Tailwind
colors: {
  custom: {
    50: '#69785b',
    500: '#2f451e',
    950: '#000000',
  },
}
SCSS
$custom: #2f451e;
$custom-light: #69785b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f451e",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 30
  },
  "hsl": {
    "h": 93.846,
    "s": 39.394,
    "l": 19.412
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.06783,
    "h": 133.1
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#2F451E
secondary
#63457A
accent
#59CF9C
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2F451E

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

Preview Lab → · Contrast checker → · Palette generator →

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