#2D4214#2D4214

#2D4214 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.075 H 130.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2D4214
RGBrgb(45, 66, 20)
HSLhsl(87, 53%, 17%)
HSVhsv(87, 70%, 26%)
CMYKcmyk(31.8%, 0%, 69.7%, 74.1%)
CIE-LABlab(25.27, -17.19, 24.70)
CIE-LCHlch(25.27, 30.09, 124.83°)
OKLaboklab(35% -0.0483 0.0571)
OKLCHoklch(35% 0.075 130.2)
XYZxyz(3.1566, 4.5047, 1.3649)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4214 #291442
analogous
#424014 #2D4214 #164214
triadic
#2D4214 #142D42 #42142D
tetradic
#2D4214 #144240 #291442 #421416
square
#2D4214 #144240 #291442 #421416
split-complementary
#2D4214 #141642 #401442
monochromatic
#101707 #101707 #2D4214 #4D7122 #6DA030

Accessibility & contrast

On white

11.05
#2D4214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D4214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4214
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4214#FFFFFF#000000##FFFFFF
##2D42141.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0F
Deuteranopia (green-blind)
#423B17
Tritanopia (blue-blind)
#2E3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d4214;
/* rgb */ color: rgb(45, 66, 20);
/* oklch */ color: oklch(35.0% 0.075 130.2);
Tailwind
colors: {
  custom: {
    50: '#687654',
    500: '#2d4214',
    950: '#000000',
  },
}
SCSS
$custom: #2d4214;
$custom-light: #687654;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4214",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 20
  },
  "hsl": {
    "h": 87.391,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34996,
    "c": 0.07484,
    "h": 130.2
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

primary
#2D4214
secondary
#56387A
accent
#4BDD8E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D4214

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

Preview Lab → · Contrast checker → · Palette generator →

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