#2D3E12#2D3E12

#2D3E12 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.070 H 127.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2D3E12
RGBrgb(45, 62, 18)
HSLhsl(83, 55%, 16%)
HSVhsv(83, 71%, 24%)
CMYKcmyk(27.4%, 0%, 71%, 75.7%)
CIE-LABlab(23.83, -15.17, 24.16)
CIE-LCHlch(23.83, 28.53, 122.13°)
OKLaboklab(33.81% -0.043 0.0557)
OKLCHoklch(33.81% 0.07 127.7)
XYZxyz(2.9140, 4.0468, 1.1997)
Luminance0.0405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E12 #23123E
analogous
#3E3912 #2D3E12 #173E12
triadic
#2D3E12 #122D3E #3E122D
tetradic
#2D3E12 #123E39 #23123E #3E1217
square
#2D3E12 #123E39 #23123E #3E1217
split-complementary
#2D3E12 #12173E #39123E
monochromatic
#111807 #111807 #2D3E12 #4F6D20 #729D2E

Accessibility & contrast

On white

11.61
#2D3E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D3E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E12
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E12#FFFFFF#000000##FFFFFF
##2D3E121.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3F3815
Tritanopia (blue-blind)
#2F3B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3e12;
/* rgb */ color: rgb(45, 62, 18);
/* oklch */ color: oklch(33.8% 0.070 127.7);
Tailwind
colors: {
  custom: {
    50: '#677352',
    500: '#2d3e12',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e12;
$custom-light: #677352;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e12",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 83.182,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33814,
    "c": 0.07035,
    "h": 127.7
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#2D3E12
secondary
#4E3577
accent
#49DE83
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3E12

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

Preview Lab → · Contrast checker → · Palette generator →

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