#2D5314#2D5314

#2D5314 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.101 H 135.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2D5314
RGBrgb(45, 83, 20)
HSLhsl(96, 61%, 20%)
HSVhsv(96, 76%, 33%)
CMYKcmyk(45.8%, 0%, 75.9%, 67.5%)
CIE-LABlab(31.33, -25.85, 31.17)
CIE-LCHlch(31.33, 40.49, 129.66°)
OKLaboklab(39.94% -0.072 0.0707)
OKLCHoklch(39.94% 0.101 135.5)
XYZxyz(4.3016, 6.7947, 1.7465)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5314 #3A1453
analogous
#4D5314 #2D5314 #14531A
triadic
#2D5314 #142D53 #53142D
tetradic
#2D5314 #144D53 #3A1453 #531A14
square
#2D5314 #144D53 #3A1453 #531A14
split-complementary
#2D5314 #1A1453 #53144D
monochromatic
#0D1906 #122208 #2D5314 #488420 #62B62C

Accessibility & contrast

On white

8.90
#2D5314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D5314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5314
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5314#FFFFFF#000000##FFFFFF
##2D53141.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0A
Deuteranopia (green-blind)
#51491A
Tritanopia (blue-blind)
#2C5046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d5314;
/* rgb */ color: rgb(45, 83, 20);
/* oklch */ color: oklch(39.9% 0.101 135.5);
Tailwind
colors: {
  custom: {
    50: '#6a8456',
    500: '#2d5314',
    950: '#000000',
  },
}
SCSS
$custom: #2d5314;
$custom-light: #6a8456;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5314",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 96.19,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39939,
    "c": 0.10093,
    "h": 135.5
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#2D5314
secondary
#6A388B
accent
#44E4A4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5314

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

Preview Lab → · Contrast checker → · Palette generator →

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