#2D5414#2D5414

#2D5414 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.102 H 135.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2D5414
RGBrgb(45, 84, 20)
HSLhsl(97, 62%, 20%)
HSVhsv(97, 76%, 33%)
CMYKcmyk(46.4%, 0%, 76.2%, 67.1%)
CIE-LABlab(31.69, -26.32, 31.54)
CIE-LCHlch(31.69, 41.08, 129.84°)
OKLaboklab(40.23% -0.0733 0.0715)
OKLCHoklch(40.23% 0.102 135.7)
XYZxyz(4.3787, 6.9488, 1.7722)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5414 #3B1454
analogous
#4D5414 #2D5414 #14541B
triadic
#2D5414 #142D54 #54142D
tetradic
#2D5414 #144D54 #3B1454 #541B14
square
#2D5414 #144D54 #3B1454 #541B14
split-complementary
#2D5414 #1B1454 #54144D
monochromatic
#0D1906 #132308 #2D5414 #478520 #62B72C

Accessibility & contrast

On white

8.79
#2D5414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D5414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5414
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5414#FFFFFF#000000##FFFFFF
##2D54141.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0A
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#2C5147
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d5414;
/* rgb */ color: rgb(45, 84, 20);
/* oklch */ color: oklch(40.2% 0.102 135.7);
Tailwind
colors: {
  custom: {
    50: '#6a8456',
    500: '#2d5414',
    950: '#000000',
  },
}
SCSS
$custom: #2d5414;
$custom-light: #6a8456;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5414",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 20
  },
  "hsl": {
    "h": 96.563,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.10239,
    "h": 135.7
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#2D5414
secondary
#6B388C
accent
#43E5A6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5414

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

Preview Lab → · Contrast checker → · Palette generator →

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