#2D5D14#2D5D14

#2D5D14 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.8% C 0.115 H 137.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2D5D14
RGBrgb(45, 93, 20)
HSLhsl(99, 65%, 22%)
HSVhsv(99, 78%, 36%)
CMYKcmyk(51.6%, 0%, 78.5%, 63.5%)
CIE-LABlab(34.88, -30.43, 34.77)
CIE-LCHlch(34.88, 46.20, 131.19°)
OKLaboklab(42.85% -0.0844 0.0783)
OKLCHoklch(42.85% 0.115 137.1)
XYZxyz(5.1226, 8.4367, 2.0202)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D14 #44145D
analogous
#525D14 #2D5D14 #145D20
triadic
#2D5D14 #142D5D #5D142D
tetradic
#2D5D14 #14525D #44145D #5D2014
square
#2D5D14 #14525D #44145D #5D2014
split-complementary
#2D5D14 #20145D #5D1452
monochromatic
#0C1905 #152B09 #2D5D14 #458F1F #5EC22A

Accessibility & contrast

On white

7.81
#2D5D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2D5D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5D14
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D14#FFFFFF#000000##FFFFFF
##2D5D141.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605507
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#2A594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5d14;
/* rgb */ color: rgb(45, 93, 20);
/* oklch */ color: oklch(42.8% 0.115 137.1);
Tailwind
colors: {
  custom: {
    50: '#6b8b57',
    500: '#2d5d14',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d14;
$custom-light: #6b8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d14",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 99.452,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.1151,
    "h": 137.1
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#2D5D14
secondary
#753895
accent
#40E8AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5D14

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

Preview Lab → · Contrast checker → · Palette generator →

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