#2A3E08#2A3E08

#2A3E08 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.5% C 0.080 H 128.3°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2A3E08
RGBrgb(42, 62, 8)
HSLhsl(82, 77%, 14%)
HSVhsv(82, 87%, 24%)
CMYKcmyk(32.3%, 0%, 87.1%, 75.7%)
CIE-LABlab(23.52, -17.39, 28.40)
CIE-LCHlch(23.52, 33.30, 121.48°)
OKLaboklab(33.48% -0.0499 0.0631)
OKLCHoklch(33.48% 0.08 128.3)
XYZxyz(2.7213, 3.9550, 0.8497)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E08 #1C083E
analogous
#3E3708 #2A3E08 #0F3E08
triadic
#2A3E08 #082A3E #3E082A
tetradic
#2A3E08 #083E37 #1C083E #3E080F
square
#2A3E08 #083E37 #1C083E #3E080F
split-complementary
#2A3E08 #080F3E #37083E
monochromatic
#121B03 #121B03 #2A3E08 #4F740F #73AA16

Accessibility & contrast

On white

11.73
#2A3E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2A3E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E08
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E08#FFFFFF#000000##FFFFFF
##2A3E081.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#2C3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3e08;
/* rgb */ color: rgb(42, 62, 8);
/* oklch */ color: oklch(33.5% 0.080 128.3);
Tailwind
colors: {
  custom: {
    50: '#66734c',
    500: '#2a3e08',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e08;
$custom-light: #66734c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e08",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 82.222,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33483,
    "c": 0.0804,
    "h": 128.3
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#2A3E08
secondary
#46257D
accent
#34F47B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3E08

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

Preview Lab → · Contrast checker → · Palette generator →

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