#2D470B#2D470B

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

Color values

HEX#2D470B
RGBrgb(45, 71, 11)
HSLhsl(86, 73%, 16%)
HSVhsv(86, 85%, 28%)
CMYKcmyk(36.6%, 0%, 84.5%, 72.2%)
CIE-LABlab(26.99, -20.60, 30.62)
CIE-LCHlch(26.99, 36.90, 123.93°)
OKLaboklab(36.36% -0.0585 0.0681)
OKLCHoklch(36.36% 0.09 130.7)
XYZxyz(3.3958, 5.0884, 1.1198)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D470B #250B47
analogous
#47430B #2D470B #0F470B
triadic
#2D470B #0B2D47 #470B2D
tetradic
#2D470B #0B4743 #250B47 #470B0F
square
#2D470B #0B4743 #250B47 #470B0F
split-complementary
#2D470B #0B0F47 #430B47
monochromatic
#111A04 #111A04 #2D470B #4F7C13 #70B11B

Accessibility & contrast

On white

10.41
#2D470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D470B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D470B#FFFFFF#000000##FFFFFF
##2D470B1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d470b;
/* rgb */ color: rgb(45, 71, 11);
/* oklch */ color: oklch(36.4% 0.090 130.7);
Tailwind
colors: {
  custom: {
    50: '#697a4f',
    500: '#2d470b',
    950: '#000000',
  },
}
SCSS
$custom: #2d470b;
$custom-light: #697a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d470b",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 86,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36363,
    "c": 0.08977,
    "h": 130.7
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#2D470B
secondary
#512A83
accent
#38F088
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D470B

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

Preview Lab → · Contrast checker → · Palette generator →

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