#2D5B14#2D5B14

#2D5B14 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.112 H 136.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2D5B14
RGBrgb(45, 91, 20)
HSLhsl(99, 64%, 22%)
HSVhsv(99, 78%, 36%)
CMYKcmyk(50.5%, 0%, 78%, 64.3%)
CIE-LABlab(34.17, -29.54, 34.06)
CIE-LCHlch(34.17, 45.09, 130.93°)
OKLaboklab(42.27% -0.082 0.0768)
OKLCHoklch(42.27% 0.112 136.9)
XYZxyz(4.9494, 8.0902, 1.9625)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B14 #42145B
analogous
#515B14 #2D5B14 #145B1F
triadic
#2D5B14 #142D5B #5B142D
tetradic
#2D5B14 #14515B #42145B #5B1F14
square
#2D5B14 #14515B #42145B #5B1F14
split-complementary
#2D5B14 #1F145B #5B1451
monochromatic
#0C1906 #142909 #2D5B14 #468D1F #5FBF2A

Accessibility & contrast

On white

8.02
#2D5B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D5B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5B14
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B14#FFFFFF#000000##FFFFFF
##2D5B141.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5307
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#2B574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5b14;
/* rgb */ color: rgb(45, 91, 20);
/* oklch */ color: oklch(42.3% 0.112 136.9);
Tailwind
colors: {
  custom: {
    50: '#6b8a57',
    500: '#2d5b14',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b14;
$custom-light: #6b8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b14",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 98.873,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.11233,
    "h": 136.9
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#2D5B14
secondary
#733893
accent
#41E7AC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5B14

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

Preview Lab → · Contrast checker → · Palette generator →

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