#2F450D#2F450D

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

Color values

HEX#2F450D
RGBrgb(47, 69, 13)
HSLhsl(84, 68%, 16%)
HSVhsv(84, 81%, 27%)
CMYKcmyk(31.9%, 0%, 81.2%, 72.9%)
CIE-LABlab(26.42, -18.52, 29.29)
CIE-LCHlch(26.42, 34.66, 122.31°)
OKLaboklab(35.94% -0.0528 0.0656)
OKLCHoklch(35.94% 0.084 128.9)
XYZxyz(3.3731, 4.8896, 1.1468)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F450D #230D45
analogous
#453F0D #2F450D #13450D
triadic
#2F450D #0D2F45 #450D2F
tetradic
#2F450D #0D453F #230D45 #450D13
square
#2F450D #0D453F #230D45 #450D13
split-complementary
#2F450D #0D1345 #3F0D45
monochromatic
#121A05 #121A05 #2F450D #527817 #75AC20

Accessibility & contrast

On white

10.62
#2F450D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F450D
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F450D#FFFFFF#000000##FFFFFF
##2F450D1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f450d;
/* rgb */ color: rgb(47, 69, 13);
/* oklch */ color: oklch(35.9% 0.084 128.9);
Tailwind
colors: {
  custom: {
    50: '#6a7850',
    500: '#2f450d',
    950: '#000000',
  },
}
SCSS
$custom: #2f450d;
$custom-light: #6a7850;
$custom-dark: #000000;
JSON
{
  "hex": "#2f450d",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 13
  },
  "hsl": {
    "h": 83.571,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3594,
    "c": 0.08425,
    "h": 128.9
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#2F450D
secondary
#4E2D80
accent
#3DEB81
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F450D

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

Preview Lab → · Contrast checker → · Palette generator →

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