#2D3A0C#2D3A0C

#2D3A0C is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.070 H 123.9°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#2D3A0C
RGBrgb(45, 58, 12)
HSLhsl(77, 66%, 14%)
HSVhsv(77, 79%, 23%)
CMYKcmyk(22.4%, 0%, 79.3%, 77.3%)
CIE-LABlab(22.34, -13.42, 25.58)
CIE-LCHlch(22.34, 28.89, 117.69°)
OKLaboklab(32.59% -0.0388 0.0577)
OKLCHoklch(32.59% 0.07 123.9)
XYZxyz(2.6616, 3.6105, 0.9044)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A0C #190C3A
analogous
#3A300C #2D3A0C #163A0C
triadic
#2D3A0C #0C2D3A #3A0C2D
tetradic
#2D3A0C #0C3A30 #190C3A #3A0C16
square
#2D3A0C #0C3A30 #190C3A #3A0C16
split-complementary
#2D3A0C #0C163A #300C3A
monochromatic
#141905 #141905 #2D3A0C #546D16 #7C9F21

Accessibility & contrast

On white

12.19
#2D3A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D3A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A0C
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A0C#FFFFFF#000000##FFFFFF
##2D3A0C1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3606
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#303731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a0c;
/* rgb */ color: rgb(45, 58, 12);
/* oklch */ color: oklch(32.6% 0.070 123.9);
Tailwind
colors: {
  custom: {
    50: '#68704e',
    500: '#2d3a0c',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a0c;
$custom-light: #68704e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a0c",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 76.957,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32593,
    "c": 0.06957,
    "h": 123.9
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#2D3A0C
secondary
#412C76
accent
#3FE96F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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