#2D5514#2D5514

#2D5514 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.5% C 0.104 H 135.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2D5514
RGBrgb(45, 85, 20)
HSLhsl(97, 62%, 21%)
HSVhsv(97, 76%, 33%)
CMYKcmyk(47.1%, 0%, 76.5%, 66.7%)
CIE-LABlab(32.05, -26.79, 31.90)
CIE-LCHlch(32.05, 41.66, 130.02°)
OKLaboklab(40.52% -0.0745 0.0723)
OKLCHoklch(40.52% 0.104 135.9)
XYZxyz(4.4568, 7.1051, 1.7983)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5514 #3C1455
analogous
#4D5514 #2D5514 #14551B
triadic
#2D5514 #142D55 #55142D
tetradic
#2D5514 #144D55 #3C1455 #551B14
square
#2D5514 #144D55 #3C1455 #551B14
split-complementary
#2D5514 #1B1455 #55144D
monochromatic
#0D1906 #132308 #2D5514 #478720 #61B82B

Accessibility & contrast

On white

8.67
#2D5514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D5514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5514
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5514#FFFFFF#000000##FFFFFF
##2D55141.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0A
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#2C5248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d5514;
/* rgb */ color: rgb(45, 85, 20);
/* oklch */ color: oklch(40.5% 0.104 135.9);
Tailwind
colors: {
  custom: {
    50: '#6a8556',
    500: '#2d5514',
    950: '#000000',
  },
}
SCSS
$custom: #2d5514;
$custom-light: #6a8556;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5514",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 20
  },
  "hsl": {
    "h": 96.923,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40521,
    "c": 0.10384,
    "h": 135.9
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#2D5514
secondary
#6C388D
accent
#43E5A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5514

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

Preview Lab → · Contrast checker → · Palette generator →

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