#2D3A08#2D3A08

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

Color values

HEX#2D3A08
RGBrgb(45, 58, 8)
HSLhsl(76, 76%, 13%)
HSVhsv(76, 86%, 23%)
CMYKcmyk(22.4%, 0%, 86.2%, 77.3%)
CIE-LABlab(22.31, -13.71, 27.22)
CIE-LCHlch(22.31, 30.48, 116.74°)
OKLaboklab(32.56% -0.0401 0.0607)
OKLCHoklch(32.56% 0.073 123.4)
XYZxyz(2.6391, 3.6015, 0.7858)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A08 #15083A
analogous
#3A2E08 #2D3A08 #143A08
triadic
#2D3A08 #082D3A #3A082D
tetradic
#2D3A08 #083A2E #15083A #3A0814
square
#2D3A08 #083A2E #15083A #3A0814
split-complementary
#2D3A08 #08143A #2E083A
monochromatic
#151B04 #151B04 #2D3A08 #57700F #80A617

Accessibility & contrast

On white

12.21
#2D3A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3A08
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A08#FFFFFF#000000##FFFFFF
##2D3A081.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3601
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#303730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a08;
/* rgb */ color: rgb(45, 58, 8);
/* oklch */ color: oklch(32.6% 0.073 123.4);
Tailwind
colors: {
  custom: {
    50: '#68704c',
    500: '#2d3a08',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a08;
$custom-light: #68704c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a08",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 75.6,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32557,
    "c": 0.07274,
    "h": 123.4
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#2D3A08
secondary
#3B2579
accent
#35F267
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3A08

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

Preview Lab → · Contrast checker → · Palette generator →

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