#2D4114#2D4114

#2D4114 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.073 H 129.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2D4114
RGBrgb(45, 65, 20)
HSLhsl(87, 53%, 17%)
HSVhsv(87, 69%, 25%)
CMYKcmyk(30.8%, 0%, 69.2%, 74.5%)
CIE-LABlab(24.92, -16.64, 24.31)
CIE-LCHlch(24.92, 29.46, 124.39°)
OKLaboklab(34.71% -0.0468 0.0563)
OKLCHoklch(34.71% 0.073 129.8)
XYZxyz(3.0987, 4.3889, 1.3456)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4114 #281441
analogous
#413F14 #2D4114 #174114
triadic
#2D4114 #142D41 #41142D
tetradic
#2D4114 #14413F #281441 #411417
square
#2D4114 #14413F #281441 #411417
split-complementary
#2D4114 #141741 #3F1441
monochromatic
#101707 #101707 #2D4114 #4D7022 #6E9F31

Accessibility & contrast

On white

11.18
#2D4114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D4114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4114
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4114#FFFFFF#000000##FFFFFF
##2D41141.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0F
Deuteranopia (green-blind)
#413B17
Tritanopia (blue-blind)
#2E3E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d4114;
/* rgb */ color: rgb(45, 65, 20);
/* oklch */ color: oklch(34.7% 0.073 129.8);
Tailwind
colors: {
  custom: {
    50: '#687554',
    500: '#2d4114',
    950: '#000000',
  },
}
SCSS
$custom: #2d4114;
$custom-light: #687554;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4114",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 20
  },
  "hsl": {
    "h": 86.667,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34706,
    "c": 0.07322,
    "h": 129.8
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#2D4114
secondary
#553879
accent
#4BDC8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D4114

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

Preview Lab → · Contrast checker → · Palette generator →

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