#2D4510#2D4510

#2D4510 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.8% C 0.083 H 130.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2D4510
RGBrgb(45, 69, 16)
HSLhsl(87, 62%, 17%)
HSVhsv(87, 77%, 27%)
CMYKcmyk(34.8%, 0%, 76.8%, 72.9%)
CIE-LABlab(26.31, -19.18, 27.80)
CIE-LCHlch(26.31, 33.77, 124.61°)
OKLaboklab(35.82% -0.0542 0.063)
OKLCHoklch(35.82% 0.083 130.7)
XYZxyz(3.3038, 4.8514, 1.2525)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4510 #281045
analogous
#454310 #2D4510 #134510
triadic
#2D4510 #102D45 #45102D
tetradic
#2D4510 #104543 #281045 #451013
square
#2D4510 #104543 #281045 #451013
split-complementary
#2D4510 #101345 #431045
monochromatic
#101906 #101906 #2D4510 #4D771C #6EA827

Accessibility & contrast

On white

10.66
#2D4510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D4510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4510
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4510#FFFFFF#000000##FFFFFF
##2D45101.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F08
Deuteranopia (green-blind)
#453E15
Tritanopia (blue-blind)
#2E423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d4510;
/* rgb */ color: rgb(45, 69, 16);
/* oklch */ color: oklch(35.8% 0.083 130.7);
Tailwind
colors: {
  custom: {
    50: '#687952',
    500: '#2d4510',
    950: '#000000',
  },
}
SCSS
$custom: #2d4510;
$custom-light: #687952;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4510",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 16
  },
  "hsl": {
    "h": 87.17,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35823,
    "c": 0.08314,
    "h": 130.7
  },
  "luminance": 0.04852
}

Semantic roles & 50–950 ramp

primary
#2D4510
secondary
#55327F
accent
#42E58C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4510

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

Preview Lab → · Contrast checker → · Palette generator →

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