#2D5714#2D5714

#2D5714 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.1% C 0.107 H 136.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2D5714
RGBrgb(45, 87, 20)
HSLhsl(98, 63%, 21%)
HSVhsv(98, 77%, 34%)
CMYKcmyk(48.3%, 0%, 77%, 65.9%)
CIE-LABlab(32.75, -27.72, 32.63)
CIE-LCHlch(32.75, 42.81, 130.35°)
OKLaboklab(41.1% -0.077 0.0738)
OKLCHoklch(41.1% 0.107 136.2)
XYZxyz(4.6165, 7.4245, 1.8515)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5714 #3E1457
analogous
#4E5714 #2D5714 #14571C
triadic
#2D5714 #142D57 #57142D
tetradic
#2D5714 #144E57 #3E1457 #571C14
square
#2D5714 #144E57 #3E1457 #571C14
split-complementary
#2D5714 #1C1457 #57144E
monochromatic
#0D1906 #132509 #2D5714 #47891F #60BB2B

Accessibility & contrast

On white

8.45
#2D5714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D5714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5714
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5714#FFFFFF#000000##FFFFFF
##2D57141.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F09
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#2B544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d5714;
/* rgb */ color: rgb(45, 87, 20);
/* oklch */ color: oklch(41.1% 0.107 136.2);
Tailwind
colors: {
  custom: {
    50: '#6a8756',
    500: '#2d5714',
    950: '#000000',
  },
}
SCSS
$custom: #2d5714;
$custom-light: #6a8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5714",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 97.612,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41103,
    "c": 0.10669,
    "h": 136.2
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#2D5714
secondary
#6E388F
accent
#42E6A9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5714

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

Preview Lab → · Contrast checker → · Palette generator →

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