#2D5E14#2D5E14

#2D5E14 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.116 H 137.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2D5E14
RGBrgb(45, 94, 20)
HSLhsl(100, 65%, 22%)
HSVhsv(100, 79%, 37%)
CMYKcmyk(52.1%, 0%, 78.7%, 63.1%)
CIE-LABlab(35.23, -30.87, 35.12)
CIE-LCHlch(35.23, 46.76, 131.31°)
OKLaboklab(43.14% -0.0856 0.079)
OKLCHoklch(43.14% 0.116 137.3)
XYZxyz(5.2110, 8.6134, 2.0497)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E14 #45145E
analogous
#525E14 #2D5E14 #145E20
triadic
#2D5E14 #142D5E #5E142D
tetradic
#2D5E14 #14525E #45145E #5E2014
square
#2D5E14 #14525E #45145E #5E2014
split-complementary
#2D5E14 #20145E #5E1452
monochromatic
#0C1905 #152C09 #2D5E14 #45901F #5DC329

Accessibility & contrast

On white

7.71
#2D5E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D5E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5E14
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E14#FFFFFF#000000##FFFFFF
##2D5E141.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615506
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#2A5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e14;
/* rgb */ color: rgb(45, 94, 20);
/* oklch */ color: oklch(43.1% 0.116 137.3);
Tailwind
colors: {
  custom: {
    50: '#6b8c57',
    500: '#2d5e14',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e14;
$custom-light: #6b8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e14",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 99.73,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43135,
    "c": 0.11647,
    "h": 137.3
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#2D5E14
secondary
#763896
accent
#40E8AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5E14

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

Preview Lab → · Contrast checker → · Palette generator →

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