#2D3F0A#2D3F0A

#2D3F0A is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.079 H 126.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2D3F0A
RGBrgb(45, 63, 10)
HSLhsl(80, 73%, 14%)
HSVhsv(80, 84%, 25%)
CMYKcmyk(28.6%, 0%, 84.1%, 75.3%)
CIE-LABlab(24.11, -16.40, 28.25)
CIE-LCHlch(24.11, 32.66, 120.14°)
OKLaboklab(34.02% -0.0472 0.0629)
OKLCHoklch(34.02% 0.079 126.9)
XYZxyz(2.9145, 4.1348, 0.9316)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F0A #1C0A3F
analogous
#3F370A #2D3F0A #133F0A
triadic
#2D3F0A #0A2D3F #3F0A2D
tetradic
#2D3F0A #0A3F37 #1C0A3F #3F0A13
square
#2D3F0A #0A3F37 #1C0A3F #3F0A13
split-complementary
#2D3F0A #0A133F #370A3F
monochromatic
#131A04 #131A04 #2D3F0A #537412 #78A91B

Accessibility & contrast

On white

11.49
#2D3F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D3F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F0A
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F0A#FFFFFF#000000##FFFFFF
##2D3F0A1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A02
Deuteranopia (green-blind)
#40390F
Tritanopia (blue-blind)
#2F3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3f0a;
/* rgb */ color: rgb(45, 63, 10);
/* oklch */ color: oklch(34.0% 0.079 126.9);
Tailwind
colors: {
  custom: {
    50: '#68744d',
    500: '#2d3f0a',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f0a;
$custom-light: #68744d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f0a",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 10
  },
  "hsl": {
    "h": 80.377,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34024,
    "c": 0.07865,
    "h": 126.9
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#2D3F0A
secondary
#45297C
accent
#38EF77
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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