#2F450E#2F450E

#2F450E is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.084 H 129.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2F450E
RGBrgb(47, 69, 14)
HSLhsl(84, 66%, 16%)
HSVhsv(84, 80%, 27%)
CMYKcmyk(31.9%, 0%, 79.7%, 72.9%)
CIE-LABlab(26.43, -18.45, 28.87)
CIE-LCHlch(26.43, 34.26, 122.58°)
OKLaboklab(35.95% -0.0526 0.0649)
OKLCHoklch(35.95% 0.084 129)
XYZxyz(3.3797, 4.8922, 1.1816)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F450E #240E45
analogous
#45400E #2F450E #14450E
triadic
#2F450E #0E2F45 #450E2F
tetradic
#2F450E #0E4540 #240E45 #450E14
square
#2F450E #0E4540 #240E45 #450E14
split-complementary
#2F450E #0E1445 #400E45
monochromatic
#111905 #111905 #2F450E #527818 #74AB23

Accessibility & contrast

On white

10.61
#2F450E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F450E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F450E
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F450E#FFFFFF#000000##FFFFFF
##2F450E1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F05
Deuteranopia (green-blind)
#463E13
Tritanopia (blue-blind)
#31423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f450e;
/* rgb */ color: rgb(47, 69, 14);
/* oklch */ color: oklch(35.9% 0.084 129.0);
Tailwind
colors: {
  custom: {
    50: '#6a7850',
    500: '#2f450e',
    950: '#000000',
  },
}
SCSS
$custom: #2f450e;
$custom-light: #6a7850;
$custom-dark: #000000;
JSON
{
  "hex": "#2f450e",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 84,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35949,
    "c": 0.08351,
    "h": 129
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#2F450E
secondary
#4F2F80
accent
#3FE983
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F450E

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

Preview Lab → · Contrast checker → · Palette generator →

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