#2D4713#2D4713

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

Color values

HEX#2D4713
RGBrgb(45, 71, 19)
HSLhsl(90, 58%, 18%)
HSVhsv(90, 73%, 28%)
CMYKcmyk(36.6%, 0%, 73.2%, 72.2%)
CIE-LABlab(27.05, -19.96, 27.14)
CIE-LCHlch(27.05, 33.69, 126.33°)
OKLaboklab(36.44% -0.056 0.0621)
OKLCHoklch(36.44% 0.084 132.1)
XYZxyz(3.4529, 5.1113, 1.4206)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4713 #2D1347
analogous
#474713 #2D4713 #134713
triadic
#2D4713 #132D47 #47132D
tetradic
#2D4713 #134747 #2D1347 #471313
square
#2D4713 #134747 #2D1347 #471313
split-complementary
#2D4713 #131347 #471347
monochromatic
#0F1806 #0F1806 #2D4713 #4C7720 #6AA82D

Accessibility & contrast

On white

10.38
#2D4713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4713
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4713#FFFFFF#000000##FFFFFF
##2D47131.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4713;
/* rgb */ color: rgb(45, 71, 19);
/* oklch */ color: oklch(36.4% 0.084 132.1);
Tailwind
colors: {
  custom: {
    50: '#687a54',
    500: '#2d4713',
    950: '#000000',
  },
}
SCSS
$custom: #2d4713;
$custom-light: #687a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4713",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 19
  },
  "hsl": {
    "h": 90,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36436,
    "c": 0.08368,
    "h": 132.1
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#2D4713
secondary
#5B3680
accent
#47E194
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4713

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

Preview Lab → · Contrast checker → · Palette generator →

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