#2D4106#2D4106

#2D4106 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.084 H 127.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2D4106
RGBrgb(45, 65, 6)
HSLhsl(80, 83%, 14%)
HSVhsv(80, 91%, 25%)
CMYKcmyk(30.8%, 0%, 90.8%, 74.5%)
CIE-LABlab(24.80, -17.76, 30.55)
CIE-LCHlch(24.80, 35.33, 120.17°)
OKLaboklab(34.57% -0.0513 0.067)
OKLCHoklch(34.57% 0.084 127.4)
XYZxyz(3.0054, 4.3516, 0.8539)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4106 #1A0641
analogous
#413806 #2D4106 #104106
triadic
#2D4106 #062D41 #41062D
tetradic
#2D4106 #064138 #1A0641 #410610
square
#2D4106 #064138 #1A0641 #410610
split-complementary
#2D4106 #061041 #380641
monochromatic
#131C03 #131C03 #2D4106 #54790B #7BB110

Accessibility & contrast

On white

11.23
#2D4106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D4106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4106
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4106#FFFFFF#000000##FFFFFF
##2D41061.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#2F3D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d4106;
/* rgb */ color: rgb(45, 65, 6);
/* oklch */ color: oklch(34.6% 0.084 127.4);
Tailwind
colors: {
  custom: {
    50: '#69754c',
    500: '#2d4106',
    950: '#000000',
  },
}
SCSS
$custom: #2d4106;
$custom-light: #69754c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4106",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 6
  },
  "hsl": {
    "h": 80.339,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34574,
    "c": 0.08439,
    "h": 127.4
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#2D4106
secondary
#422281
accent
#2EF973
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4106

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

Preview Lab → · Contrast checker → · Palette generator →

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