#2D4514#2D4514

#2D4514 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.080 H 131.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2D4514
RGBrgb(45, 69, 20)
HSLhsl(89, 55%, 17%)
HSVhsv(89, 71%, 27%)
CMYKcmyk(34.8%, 0%, 71%, 72.9%)
CIE-LABlab(26.35, -18.81, 25.88)
CIE-LCHlch(26.35, 31.99, 126.01°)
OKLaboklab(35.87% -0.0528 0.0596)
OKLCHoklch(35.87% 0.08 131.5)
XYZxyz(3.3365, 4.8645, 1.4248)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4514 #2C1445
analogous
#454514 #2D4514 #144514
triadic
#2D4514 #142D45 #45142D
tetradic
#2D4514 #144545 #2C1445 #451414
square
#2D4514 #144545 #2C1445 #451414
split-complementary
#2D4514 #141445 #451445
monochromatic
#0F1807 #0F1807 #2D4514 #4C7422 #6BA430

Accessibility & contrast

On white

10.64
#2D4514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4514
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4514#FFFFFF#000000##FFFFFF
##2D45141.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48400E
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#2E423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d4514;
/* rgb */ color: rgb(45, 69, 20);
/* oklch */ color: oklch(35.9% 0.080 131.5);
Tailwind
colors: {
  custom: {
    50: '#687954',
    500: '#2d4514',
    950: '#000000',
  },
}
SCSS
$custom: #2d4514;
$custom-light: #687954;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4514",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 20
  },
  "hsl": {
    "h": 89.388,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35866,
    "c": 0.07963,
    "h": 131.5
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#2D4514
secondary
#5A387D
accent
#49DE92
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4514

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

Preview Lab → · Contrast checker → · Palette generator →

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