#2D490C#2D490C

#2D490C is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 37.0% C 0.092 H 131.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2D490C
RGBrgb(45, 73, 12)
HSLhsl(88, 72%, 17%)
HSVhsv(88, 84%, 29%)
CMYKcmyk(38.4%, 0%, 83.6%, 71.4%)
CIE-LABlab(27.71, -21.56, 30.92)
CIE-LCHlch(27.71, 37.70, 124.88°)
OKLaboklab(36.95% -0.061 0.0689)
OKLCHoklch(36.95% 0.092 131.5)
XYZxyz(3.5311, 5.3494, 1.1942)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D490C #280C49
analogous
#49470C #2D490C #0F490C
triadic
#2D490C #0C2D49 #490C2D
tetradic
#2D490C #0C4947 #280C49 #490C0F
square
#2D490C #0C4947 #280C49 #490C0F
split-complementary
#2D490C #0C0F49 #470C49
monochromatic
#101A04 #101A04 #2D490C #4D7E15 #6EB21D

Accessibility & contrast

On white

10.14
#2D490C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D490C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D490C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D490C#FFFFFF#000000##FFFFFF
##2D490C1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4302
Deuteranopia (green-blind)
#494112
Tritanopia (blue-blind)
#2E463D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d490c;
/* rgb */ color: rgb(45, 73, 12);
/* oklch */ color: oklch(37.0% 0.092 131.5);
Tailwind
colors: {
  custom: {
    50: '#697c50',
    500: '#2d490c',
    950: '#000000',
  },
}
SCSS
$custom: #2d490c;
$custom-light: #697c50;
$custom-dark: #000000;
JSON
{
  "hex": "#2d490c",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 87.541,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36954,
    "c": 0.09204,
    "h": 131.5
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#2D490C
secondary
#552C85
accent
#39EE8C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D490C

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

Preview Lab → · Contrast checker → · Palette generator →

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