#2D3A10#2D3A10

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

Color values

HEX#2D3A10
RGBrgb(45, 58, 16)
HSLhsl(79, 57%, 15%)
HSVhsv(79, 72%, 23%)
CMYKcmyk(22.4%, 0%, 72.4%, 77.3%)
CIE-LABlab(22.38, -13.07, 23.63)
CIE-LCHlch(22.38, 27.01, 118.95°)
OKLaboklab(32.64% -0.0374 0.0543)
OKLCHoklch(32.64% 0.066 124.6)
XYZxyz(2.6888, 3.6214, 1.0475)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A10 #1D103A
analogous
#3A3210 #2D3A10 #183A10
triadic
#2D3A10 #102D3A #3A102D
tetradic
#2D3A10 #103A32 #1D103A #3A1018
square
#2D3A10 #103A32 #1D103A #3A1018
split-complementary
#2D3A10 #10183A #32103A
monochromatic
#131807 #131807 #2D3A10 #526A1D #779A2A

Accessibility & contrast

On white

12.18
#2D3A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3A10
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A10#FFFFFF#000000##FFFFFF
##2D3A101.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E360B
Deuteranopia (green-blind)
#3C3513
Tritanopia (blue-blind)
#2F3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a10;
/* rgb */ color: rgb(45, 58, 16);
/* oklch */ color: oklch(32.6% 0.066 124.6);
Tailwind
colors: {
  custom: {
    50: '#677050',
    500: '#2d3a10',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a10;
$custom-light: #677050;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a10",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 16
  },
  "hsl": {
    "h": 78.571,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32637,
    "c": 0.06591,
    "h": 124.6
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#2D3A10
secondary
#463274
accent
#48E077
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3A10

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

Preview Lab → · Contrast checker → · Palette generator →

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