#2D4710#2D4710

#2D4710 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.086 H 131.5°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2D4710
RGBrgb(45, 71, 16)
HSLhsl(88, 63%, 17%)
HSVhsv(88, 77%, 28%)
CMYKcmyk(36.6%, 0%, 77.5%, 72.2%)
CIE-LABlab(27.02, -20.23, 28.53)
CIE-LCHlch(27.02, 34.98, 125.34°)
OKLaboklab(36.41% -0.0571 0.0646)
OKLCHoklch(36.41% 0.086 131.5)
XYZxyz(3.4289, 5.1017, 1.2942)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4710 #2A1047
analogous
#474610 #2D4710 #124710
triadic
#2D4710 #102D47 #47102D
tetradic
#2D4710 #104746 #2A1047 #471012
square
#2D4710 #104746 #2A1047 #471012
split-complementary
#2D4710 #101247 #461047
monochromatic
#101906 #101906 #2D4710 #4D791B #6CAB27

Accessibility & contrast

On white

10.39
#2D4710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D4710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4710
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4710#FFFFFF#000000##FFFFFF
##2D47101.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4108
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#2E443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d4710;
/* rgb */ color: rgb(45, 71, 16);
/* oklch */ color: oklch(36.4% 0.086 131.5);
Tailwind
colors: {
  custom: {
    50: '#687a52',
    500: '#2d4710',
    950: '#000000',
  },
}
SCSS
$custom: #2d4710;
$custom-light: #687a52;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4710",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 16
  },
  "hsl": {
    "h": 88.364,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36405,
    "c": 0.08618,
    "h": 131.5
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#2D4710
secondary
#573281
accent
#42E68F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4710

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

Preview Lab → · Contrast checker → · Palette generator →

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