#2A3E17#2A3E17

#2A3E17 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.067 H 131.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2A3E17
RGBrgb(42, 62, 23)
HSLhsl(91, 46%, 17%)
HSVhsv(91, 63%, 24%)
CMYKcmyk(32.3%, 0%, 62.9%, 75.7%)
CIE-LABlab(23.67, -15.98, 21.17)
CIE-LCHlch(23.67, 26.52, 127.04°)
OKLaboklab(33.65% -0.0445 0.05)
OKLCHoklch(33.65% 0.067 131.7)
XYZxyz(2.8321, 3.9993, 1.4332)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E17 #2B173E
analogous
#3E3E17 #2A3E17 #173E18
triadic
#2A3E17 #172A3E #3E172A
tetradic
#2A3E17 #173E3E #2B173E #3E1817
square
#2A3E17 #173E3E #2B173E #3E1817
split-complementary
#2A3E17 #18173E #3E173E
monochromatic
#0F1608 #0F1608 #2A3E17 #486B28 #669738

Accessibility & contrast

On white

11.67
#2A3E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2A3E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E17
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E17#FFFFFF#000000##FFFFFF
##2A3E171.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413913
Deuteranopia (green-blind)
#3E381A
Tritanopia (blue-blind)
#2B3B35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3e17;
/* rgb */ color: rgb(42, 62, 23);
/* oklch */ color: oklch(33.7% 0.067 131.7);
Tailwind
colors: {
  custom: {
    50: '#657355',
    500: '#2a3e17',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e17;
$custom-light: #657355;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e17",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 23
  },
  "hsl": {
    "h": 90.769,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3365,
    "c": 0.06691,
    "h": 131.7
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#2A3E17
secondary
#593C75
accent
#52D696
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2A3E17

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

Preview Lab → · Contrast checker → · Palette generator →

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