#2A3E16#2A3E16

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

Color values

HEX#2A3E16
RGBrgb(42, 62, 22)
HSLhsl(90, 48%, 16%)
HSVhsv(90, 65%, 24%)
CMYKcmyk(32.3%, 0%, 64.5%, 75.7%)
CIE-LABlab(23.66, -16.10, 21.73)
CIE-LCHlch(23.66, 27.04, 126.54°)
OKLaboklab(33.64% -0.0449 0.0511)
OKLCHoklch(33.64% 0.068 131.4)
XYZxyz(2.8223, 3.9953, 1.3814)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E16 #2A163E
analogous
#3E3E16 #2A3E16 #163E16
triadic
#2A3E16 #162A3E #3E162A
tetradic
#2A3E16 #163E3E #2A163E #3E1616
square
#2A3E16 #163E3E #2A163E #3E1616
split-complementary
#2A3E16 #16163E #3E163E
monochromatic
#0F1708 #0F1708 #2A3E16 #496B26 #679836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3E16#FFFFFF#000000##FFFFFF
##2A3E161.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)
#413912
Deuteranopia (green-blind)
#3E3819
Tritanopia (blue-blind)
#2B3B35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3e16;
/* rgb */ color: rgb(42, 62, 22);
/* oklch */ color: oklch(33.6% 0.068 131.4);
Tailwind
colors: {
  custom: {
    50: '#657354',
    500: '#2a3e16',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e16;
$custom-light: #657354;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e16",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 47.619,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33635,
    "c": 0.06801,
    "h": 131.4
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#2A3E16
secondary
#583B75
accent
#51D794
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2A3E16

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

Preview Lab → · Contrast checker → · Palette generator →

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