#2D470D#2D470D

#2D470D is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.088 H 131.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2D470D
RGBrgb(45, 71, 13)
HSLhsl(87, 69%, 16%)
HSVhsv(87, 82%, 28%)
CMYKcmyk(36.6%, 0%, 81.7%, 72.2%)
CIE-LABlab(27.00, -20.46, 29.82)
CIE-LCHlch(27.00, 36.17, 124.46°)
OKLaboklab(36.38% -0.058 0.0668)
OKLCHoklch(36.38% 0.088 131)
XYZxyz(3.4080, 5.0933, 1.1842)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D470D #270D47
analogous
#47440D #2D470D #10470D
triadic
#2D470D #0D2D47 #470D2D
tetradic
#2D470D #0D4744 #270D47 #470D10
square
#2D470D #0D4744 #270D47 #470D10
split-complementary
#2D470D #0D1047 #440D47
monochromatic
#101A05 #101A05 #2D470D #4E7B16 #6FAE20

Accessibility & contrast

On white

10.40
#2D470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D470D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D470D#FFFFFF#000000##FFFFFF
##2D470D1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4104
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#2E443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d470d;
/* rgb */ color: rgb(45, 71, 13);
/* oklch */ color: oklch(36.4% 0.088 131.0);
Tailwind
colors: {
  custom: {
    50: '#697a50',
    500: '#2d470d',
    950: '#000000',
  },
}
SCSS
$custom: #2d470d;
$custom-light: #697a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2d470d",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 86.897,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36378,
    "c": 0.08843,
    "h": 131
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#2D470D
secondary
#542D82
accent
#3CEC8B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D470D

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

Preview Lab → · Contrast checker → · Palette generator →

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