#2D4913#2D4913

#2D4913 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.087 H 132.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2D4913
RGBrgb(45, 73, 19)
HSLhsl(91, 59%, 18%)
HSVhsv(91, 74%, 29%)
CMYKcmyk(38.4%, 0%, 74%, 71.4%)
CIE-LABlab(27.76, -21.00, 27.90)
CIE-LCHlch(27.76, 34.92, 126.96°)
OKLaboklab(37.02% -0.0589 0.0637)
OKLCHoklch(37.02% 0.087 132.7)
XYZxyz(3.5822, 5.3698, 1.4637)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4913 #2F1349
analogous
#484913 #2D4913 #134914
triadic
#2D4913 #132D49 #49132D
tetradic
#2D4913 #134849 #2F1349 #491413
square
#2D4913 #134849 #2F1349 #491413
split-complementary
#2D4913 #141349 #491348
monochromatic
#0F1806 #0F1806 #2D4913 #4B7A20 #69AA2C

Accessibility & contrast

On white

10.13
#2D4913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4913
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4913#FFFFFF#000000##FFFFFF
##2D49131.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430C
Deuteranopia (green-blind)
#484118
Tritanopia (blue-blind)
#2D463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4913;
/* rgb */ color: rgb(45, 73, 19);
/* oklch */ color: oklch(37.0% 0.087 132.7);
Tailwind
colors: {
  custom: {
    50: '#687c54',
    500: '#2d4913',
    950: '#000000',
  },
}
SCSS
$custom: #2d4913;
$custom-light: #687c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4913",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 19
  },
  "hsl": {
    "h": 91.111,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37017,
    "c": 0.08677,
    "h": 132.7
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#2D4913
secondary
#5D3682
accent
#46E297
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4913

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

Preview Lab → · Contrast checker → · Palette generator →

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