#2D4110#2D4110

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

Color values

HEX#2D4110
RGBrgb(45, 65, 16)
HSLhsl(84, 60%, 16%)
HSVhsv(84, 75%, 25%)
CMYKcmyk(30.8%, 0%, 75.4%, 74.5%)
CIE-LABlab(24.88, -17.03, 26.30)
CIE-LCHlch(24.88, 31.33, 122.92°)
OKLaboklab(34.66% -0.0483 0.0599)
OKLCHoklch(34.66% 0.077 128.9)
XYZxyz(3.0660, 4.3758, 1.1732)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4110 #241041
analogous
#413C10 #2D4110 #144110
triadic
#2D4110 #102D41 #41102D
tetradic
#2D4110 #10413C #241041 #411014
square
#2D4110 #10413C #241041 #411014
split-complementary
#2D4110 #101441 #3C1041
monochromatic
#111906 #111906 #2D4110 #4F721C #71A328

Accessibility & contrast

On white

11.20
#2D4110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4110
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4110#FFFFFF#000000##FFFFFF
##2D41101.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C09
Deuteranopia (green-blind)
#423B14
Tritanopia (blue-blind)
#2F3E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d4110;
/* rgb */ color: rgb(45, 65, 16);
/* oklch */ color: oklch(34.7% 0.077 128.9);
Tailwind
colors: {
  custom: {
    50: '#687551',
    500: '#2d4110',
    950: '#000000',
  },
}
SCSS
$custom: #2d4110;
$custom-light: #687551;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4110",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 16
  },
  "hsl": {
    "h": 84.49,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3466,
    "c": 0.07696,
    "h": 128.9
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#2D4110
secondary
#50327B
accent
#44E485
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D4110

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

Preview Lab → · Contrast checker → · Palette generator →

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