#2D5814#2D5814

#2D5814 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.108 H 136.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2D5814
RGBrgb(45, 88, 20)
HSLhsl(98, 63%, 21%)
HSVhsv(98, 77%, 35%)
CMYKcmyk(48.9%, 0%, 77.3%, 65.5%)
CIE-LABlab(33.11, -28.18, 32.99)
CIE-LCHlch(33.11, 43.39, 130.50°)
OKLaboklab(41.39% -0.0783 0.0746)
OKLCHoklch(41.39% 0.108 136.4)
XYZxyz(4.6980, 7.5875, 1.8787)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5814 #3F1458
analogous
#4F5814 #2D5814 #14581D
triadic
#2D5814 #142D58 #58142D
tetradic
#2D5814 #144F58 #3F1458 #581D14
square
#2D5814 #144F58 #3F1458 #581D14
split-complementary
#2D5814 #1D1458 #58144F
monochromatic
#0D1906 #132609 #2D5814 #468A1F #60BC2B

Accessibility & contrast

On white

8.34
#2D5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2D5814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5814
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5814#FFFFFF#000000##FFFFFF
##2D58141.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5008
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#2B554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d5814;
/* rgb */ color: rgb(45, 88, 20);
/* oklch */ color: oklch(41.4% 0.108 136.4);
Tailwind
colors: {
  custom: {
    50: '#6b8756',
    500: '#2d5814',
    950: '#000000',
  },
}
SCSS
$custom: #2d5814;
$custom-light: #6b8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5814",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 97.941,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41393,
    "c": 0.10812,
    "h": 136.4
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#2D5814
secondary
#703890
accent
#42E6AA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5814

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

Preview Lab → · Contrast checker → · Palette generator →

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