#2D470F#2D470F

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

Color values

HEX#2D470F
RGBrgb(45, 71, 15)
HSLhsl(88, 65%, 17%)
HSVhsv(88, 79%, 28%)
CMYKcmyk(36.6%, 0%, 78.9%, 72.2%)
CIE-LABlab(27.01, -20.31, 28.98)
CIE-LCHlch(27.01, 35.39, 125.03°)
OKLaboklab(36.4% -0.0574 0.0653)
OKLCHoklch(36.4% 0.087 131.3)
XYZxyz(3.4216, 5.0987, 1.2557)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D470F #290F47
analogous
#47450F #2D470F #11470F
triadic
#2D470F #0F2D47 #470F2D
tetradic
#2D470F #0F4745 #290F47 #470F11
square
#2D470F #0F4745 #290F47 #470F11
split-complementary
#2D470F #0F1147 #450F47
monochromatic
#101905 #101905 #2D470F #4D7A1A #6DAC24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D470F#FFFFFF#000000##FFFFFF
##2D470F1.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)
#4A4106
Deuteranopia (green-blind)
#473F14
Tritanopia (blue-blind)
#2E443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d470f;
/* rgb */ color: rgb(45, 71, 15);
/* oklch */ color: oklch(36.4% 0.087 131.3);
Tailwind
colors: {
  custom: {
    50: '#697a51',
    500: '#2d470f',
    950: '#000000',
  },
}
SCSS
$custom: #2d470f;
$custom-light: #697a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d470f",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 87.857,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36396,
    "c": 0.08697,
    "h": 131.3
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#2D470F
secondary
#563081
accent
#40E88E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D470F

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

Preview Lab → · Contrast checker → · Palette generator →

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