#2D470E#2D470E

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

Color values

HEX#2D470E
RGBrgb(45, 71, 14)
HSLhsl(87, 67%, 17%)
HSVhsv(87, 80%, 28%)
CMYKcmyk(36.6%, 0%, 80.3%, 72.2%)
CIE-LABlab(27.01, -20.39, 29.41)
CIE-LCHlch(27.01, 35.78, 124.74°)
OKLaboklab(36.39% -0.0577 0.0661)
OKLCHoklch(36.39% 0.088 131.1)
XYZxyz(3.4147, 5.0960, 1.2191)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D470E #280E47
analogous
#47450E #2D470E #11470E
triadic
#2D470E #0E2D47 #470E2D
tetradic
#2D470E #0E4745 #280E47 #470E11
square
#2D470E #0E4745 #280E47 #470E11
split-complementary
#2D470E #0E1147 #450E47
monochromatic
#101A05 #101A05 #2D470E #4D7A18 #6EAD22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D470E#FFFFFF#000000##FFFFFF
##2D470E1.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)
#4B4105
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#2E443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d470e;
/* rgb */ color: rgb(45, 71, 14);
/* oklch */ color: oklch(36.4% 0.088 131.1);
Tailwind
colors: {
  custom: {
    50: '#697a51',
    500: '#2d470e',
    950: '#000000',
  },
}
SCSS
$custom: #2d470e;
$custom-light: #697a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d470e",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 87.368,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36387,
    "c": 0.08771,
    "h": 131.1
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#2D470E
secondary
#552F82
accent
#3EEA8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D470E

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

Preview Lab → · Contrast checker → · Palette generator →

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