#2D4412#2D4412

#2D4412 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.6% C 0.080 H 130.7°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2D4412
RGBrgb(45, 68, 18)
HSLhsl(88, 58%, 17%)
HSVhsv(88, 74%, 27%)
CMYKcmyk(33.8%, 0%, 73.5%, 73.3%)
CIE-LABlab(25.97, -18.47, 26.48)
CIE-LCHlch(25.97, 32.28, 124.90°)
OKLaboklab(35.55% -0.0521 0.0606)
OKLCHoklch(35.55% 0.08 130.7)
XYZxyz(3.2585, 4.7357, 1.3146)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4412 #291244
analogous
#444212 #2D4412 #144412
triadic
#2D4412 #122D44 #44122D
tetradic
#2D4412 #124442 #291244 #441214
square
#2D4412 #124442 #291244 #441214
split-complementary
#2D4412 #121444 #421244
monochromatic
#101806 #101806 #2D4412 #4D741F #6DA52C

Accessibility & contrast

On white

10.78
#2D4412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D4412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4412
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4412#FFFFFF#000000##FFFFFF
##2D44121.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F0B
Deuteranopia (green-blind)
#443D16
Tritanopia (blue-blind)
#2E413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d4412;
/* rgb */ color: rgb(45, 68, 18);
/* oklch */ color: oklch(35.6% 0.080 130.7);
Tailwind
colors: {
  custom: {
    50: '#687853',
    500: '#2d4412',
    950: '#000000',
  },
}
SCSS
$custom: #2d4412;
$custom-light: #687853;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4412",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 87.6,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35553,
    "c": 0.07988,
    "h": 130.7
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#2D4412
secondary
#56357D
accent
#46E18E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4412

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

Preview Lab → · Contrast checker → · Palette generator →

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