#2D4016#2D4016

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

Color values

HEX#2D4016
RGBrgb(45, 64, 22)
HSLhsl(87, 49%, 17%)
HSVhsv(87, 66%, 25%)
CMYKcmyk(29.7%, 0%, 65.6%, 74.9%)
CIE-LABlab(24.58, -15.86, 22.85)
CIE-LCHlch(24.58, 27.82, 124.77°)
OKLaboklab(34.44% -0.0445 0.0534)
OKLCHoklch(34.44% 0.07 129.8)
XYZxyz(3.0604, 4.2825, 1.4243)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4016 #291640
analogous
#403E16 #2D4016 #184016
triadic
#2D4016 #162D40 #40162D
tetradic
#2D4016 #16403E #291640 #401618
square
#2D4016 #16403E #291640 #401618
split-complementary
#2D4016 #161840 #3E1640
monochromatic
#101708 #101708 #2D4016 #4D6E26 #6D9B35

Accessibility & contrast

On white

11.31
#2D4016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4016
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4016#FFFFFF#000000##FFFFFF
##2D40161.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4016;
/* rgb */ color: rgb(45, 64, 22);
/* oklch */ color: oklch(34.4% 0.070 129.8);
Tailwind
colors: {
  custom: {
    50: '#677555',
    500: '#2d4016',
    950: '#000000',
  },
}
SCSS
$custom: #2d4016;
$custom-light: #677555;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4016",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 22
  },
  "hsl": {
    "h": 87.143,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34443,
    "c": 0.06953,
    "h": 129.8
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#2D4016
secondary
#563B77
accent
#4FD88D
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D4016

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

Preview Lab → · Contrast checker → · Palette generator →

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