#2D4011#2D4011

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

Color values

HEX#2D4011
RGBrgb(45, 64, 17)
HSLhsl(84, 58%, 16%)
HSVhsv(84, 73%, 25%)
CMYKcmyk(29.7%, 0%, 73.4%, 74.9%)
CIE-LABlab(24.53, -16.39, 25.44)
CIE-LCHlch(24.53, 30.26, 122.79°)
OKLaboklab(34.38% -0.0464 0.0582)
OKLCHoklch(34.38% 0.074 128.6)
XYZxyz(3.0168, 4.2651, 1.1945)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4011 #241140
analogous
#403B11 #2D4011 #154011
triadic
#2D4011 #112D40 #40112D
tetradic
#2D4011 #11403B #241140 #401115
square
#2D4011 #11403B #241140 #401115
split-complementary
#2D4011 #111540 #3B1140
monochromatic
#111806 #111806 #2D4011 #4F701E #71A12B

Accessibility & contrast

On white

11.33
#2D4011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D4011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4011
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4011#FFFFFF#000000##FFFFFF
##2D40111.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0B
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#2F3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d4011;
/* rgb */ color: rgb(45, 64, 17);
/* oklch */ color: oklch(34.4% 0.074 128.6);
Tailwind
colors: {
  custom: {
    50: '#687552',
    500: '#2d4011',
    950: '#000000',
  },
}
SCSS
$custom: #2d4011;
$custom-light: #687552;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4011",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 17
  },
  "hsl": {
    "h": 84.255,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34381,
    "c": 0.07449,
    "h": 128.6
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#2D4011
secondary
#503379
accent
#47E185
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D4011

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

Preview Lab → · Contrast checker → · Palette generator →

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