#2A3B08#2A3B08

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

Color values

HEX#2A3B08
RGBrgb(42, 59, 8)
HSLhsl(80, 76%, 13%)
HSVhsv(80, 86%, 23%)
CMYKcmyk(28.8%, 0%, 86.4%, 76.9%)
CIE-LABlab(22.44, -15.74, 27.29)
CIE-LCHlch(22.44, 31.50, 119.98°)
OKLaboklab(32.6% -0.0454 0.0609)
OKLCHoklch(32.6% 0.076 126.7)
XYZxyz(2.5626, 3.6377, 0.7968)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B08 #19083B
analogous
#3B3208 #2A3B08 #103B08
triadic
#2A3B08 #082A3B #3B082A
tetradic
#2A3B08 #083B32 #19083B #3B0810
square
#2A3B08 #083B32 #19083B #3B0810
split-complementary
#2A3B08 #08103B #32083B
monochromatic
#131B04 #131B04 #2A3B08 #50710F #77A717

Accessibility & contrast

On white

12.16
#2A3B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2A3B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B08
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B08#FFFFFF#000000##FFFFFF
##2A3B081.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3601
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#2C3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3b08;
/* rgb */ color: rgb(42, 59, 8);
/* oklch */ color: oklch(32.6% 0.076 126.7);
Tailwind
colors: {
  custom: {
    50: '#66714c',
    500: '#2a3b08',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b08;
$custom-light: #66714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b08",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 8
  },
  "hsl": {
    "h": 80,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32601,
    "c": 0.07595,
    "h": 126.7
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#2A3B08
secondary
#41257A
accent
#35F374
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3B08

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

Preview Lab → · Contrast checker → · Palette generator →

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