#2D3A0F#2D3A0F

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

Color values

HEX#2D3A0F
RGBrgb(45, 58, 15)
HSLhsl(78, 59%, 14%)
HSVhsv(78, 74%, 23%)
CMYKcmyk(22.4%, 0%, 74.1%, 77.3%)
CIE-LABlab(22.37, -13.17, 24.14)
CIE-LCHlch(22.37, 27.50, 118.61°)
OKLaboklab(32.63% -0.0378 0.0552)
OKLCHoklch(32.63% 0.067 124.4)
XYZxyz(2.6815, 3.6185, 1.0090)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A0F #1C0F3A
analogous
#3A320F #2D3A0F #183A0F
triadic
#2D3A0F #0F2D3A #3A0F2D
tetradic
#2D3A0F #0F3A32 #1C0F3A #3A0F18
square
#2D3A0F #0F3A32 #1C0F3A #3A0F18
split-complementary
#2D3A0F #0F183A #320F3A
monochromatic
#131806 #131806 #2D3A0F #536B1C #789B28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3A0F#FFFFFF#000000##FFFFFF
##2D3A0F1.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)
#3E360A
Deuteranopia (green-blind)
#3C3512
Tritanopia (blue-blind)
#2F3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a0f;
/* rgb */ color: rgb(45, 58, 15);
/* oklch */ color: oklch(32.6% 0.067 124.4);
Tailwind
colors: {
  custom: {
    50: '#677050',
    500: '#2d3a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a0f;
$custom-light: #677050;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a0f",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 78.14,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32625,
    "c": 0.06688,
    "h": 124.4
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#2D3A0F
secondary
#453074
accent
#46E275
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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