#2D470C#2D470C

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

Color values

HEX#2D470C
RGBrgb(45, 71, 12)
HSLhsl(86, 71%, 16%)
HSVhsv(86, 83%, 28%)
CMYKcmyk(36.6%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.99, -20.53, 30.23)
CIE-LCHlch(26.99, 36.54, 124.19°)
OKLaboklab(36.37% -0.0583 0.0674)
OKLCHoklch(36.37% 0.089 130.8)
XYZxyz(3.4018, 5.0908, 1.1511)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D470C #260C47
analogous
#47440C #2D470C #10470C
triadic
#2D470C #0C2D47 #470C2D
tetradic
#2D470C #0C4744 #260C47 #470C10
square
#2D470C #0C4744 #260C47 #470C10
split-complementary
#2D470C #0C1047 #440C47
monochromatic
#111A04 #111A04 #2D470C #4E7B15 #6FB01E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D470C#FFFFFF#000000##FFFFFF
##2D470C1.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)
#4B4102
Deuteranopia (green-blind)
#473F12
Tritanopia (blue-blind)
#2E443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d470c;
/* rgb */ color: rgb(45, 71, 12);
/* oklch */ color: oklch(36.4% 0.089 130.8);
Tailwind
colors: {
  custom: {
    50: '#697a50',
    500: '#2d470c',
    950: '#000000',
  },
}
SCSS
$custom: #2d470c;
$custom-light: #697a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2d470c",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 86.441,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3637,
    "c": 0.08911,
    "h": 130.8
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#2D470C
secondary
#522C83
accent
#3AEE89
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D470C

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

Preview Lab → · Contrast checker → · Palette generator →

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