#2D4015#2D4015

#2D4015 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.071 H 129.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2D4015
RGBrgb(45, 64, 21)
HSLhsl(87, 51%, 17%)
HSVhsv(87, 67%, 25%)
CMYKcmyk(29.7%, 0%, 67.2%, 74.9%)
CIE-LABlab(24.57, -15.98, 23.38)
CIE-LCHlch(24.57, 28.32, 124.34°)
OKLaboklab(34.43% -0.0449 0.0545)
OKLCHoklch(34.43% 0.071 129.5)
XYZxyz(3.0509, 4.2788, 1.3745)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4015 #281540
analogous
#403E15 #2D4015 #184015
triadic
#2D4015 #152D40 #40152D
tetradic
#2D4015 #15403E #281540 #401518
square
#2D4015 #15403E #281540 #401518
split-complementary
#2D4015 #151840 #3E1540
monochromatic
#101708 #101708 #2D4015 #4D6E24 #6E9C33

Accessibility & contrast

On white

11.32
#2D4015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D4015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4015
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4015#FFFFFF#000000##FFFFFF
##2D40151.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B10
Deuteranopia (green-blind)
#403A18
Tritanopia (blue-blind)
#2E3D37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d4015;
/* rgb */ color: rgb(45, 64, 21);
/* oklch */ color: oklch(34.4% 0.071 129.5);
Tailwind
colors: {
  custom: {
    50: '#677554',
    500: '#2d4015',
    950: '#000000',
  },
}
SCSS
$custom: #2d4015;
$custom-light: #677554;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4015",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 21
  },
  "hsl": {
    "h": 86.512,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3443,
    "c": 0.07058,
    "h": 129.5
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#2D4015
secondary
#553978
accent
#4EDA8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D4015

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

Preview Lab → · Contrast checker → · Palette generator →

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