#2D4318#2D4318

#2D4318 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.072 H 131.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2D4318
RGBrgb(45, 67, 24)
HSLhsl(91, 47%, 18%)
HSVhsv(91, 64%, 26%)
CMYKcmyk(32.8%, 0%, 64.2%, 73.7%)
CIE-LABlab(25.68, -17.29, 23.00)
CIE-LCHlch(25.68, 28.77, 126.93°)
OKLaboklab(35.34% -0.0482 0.054)
OKLCHoklch(35.34% 0.072 131.8)
XYZxyz(3.2542, 4.6380, 1.5878)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4318 #2E1843
analogous
#424318 #2D4318 #184318
triadic
#2D4318 #182D43 #43182D
tetradic
#2D4318 #184243 #2E1843 #431818
square
#2D4318 #184243 #2E1843 #431818
split-complementary
#2D4318 #181843 #431842
monochromatic
#0F1708 #0F1708 #2D4318 #4B7028 #6A9D38

Accessibility & contrast

On white

10.89
#2D4318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D4318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4318
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4318#FFFFFF#000000##FFFFFF
##2D43181.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#433C1B
Tritanopia (blue-blind)
#2E403A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d4318;
/* rgb */ color: rgb(45, 67, 24);
/* oklch */ color: oklch(35.3% 0.072 131.8);
Tailwind
colors: {
  custom: {
    50: '#677756',
    500: '#2d4318',
    950: '#000000',
  },
}
SCSS
$custom: #2d4318;
$custom-light: #677756;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4318",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 24
  },
  "hsl": {
    "h": 90.698,
    "s": 47.253,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35338,
    "c": 0.07239,
    "h": 131.8
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#2D4318
secondary
#5C3D7A
accent
#51D795
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D4318

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

Preview Lab → · Contrast checker → · Palette generator →

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