#2A590E#2A590E

#2A590E is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.5% C 0.115 H 136.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2A590E
RGBrgb(42, 89, 14)
HSLhsl(98, 73%, 20%)
HSVhsv(98, 84%, 35%)
CMYKcmyk(52.8%, 0%, 84.3%, 65.1%)
CIE-LABlab(33.28, -30.13, 35.45)
CIE-LCHlch(33.28, 46.52, 130.36°)
OKLaboklab(41.48% -0.0838 0.0788)
OKLCHoklch(41.48% 0.115 136.8)
XYZxyz(4.6064, 7.6684, 1.6528)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A590E #3D0E59
analogous
#4F590E #2A590E #0E5917
triadic
#2A590E #0E2A59 #590E2A
tetradic
#2A590E #0E4F59 #3D0E59 #59170E
square
#2A590E #0E4F59 #3D0E59 #59170E
split-complementary
#2A590E #170E59 #590E4F
monochromatic
#0C1A04 #112406 #2A590E #438E16 #5CC31F

Accessibility & contrast

On white

8.29
#2A590E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A590E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A590E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A590E#FFFFFF#000000##FFFFFF
##2A590E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5100
Deuteranopia (green-blind)
#564D16
Tritanopia (blue-blind)
#27554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a590e;
/* rgb */ color: rgb(42, 89, 14);
/* oklch */ color: oklch(41.5% 0.115 136.8);
Tailwind
colors: {
  custom: {
    50: '#698854',
    500: '#2a590e',
    950: '#000000',
  },
}
SCSS
$custom: #2a590e;
$custom-light: #698854;
$custom-dark: #000000;
JSON
{
  "hex": "#2a590e",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 14
  },
  "hsl": {
    "h": 97.6,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.11499,
    "h": 136.8
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#2A590E
secondary
#6E3093
accent
#38F0AB
background
#F6F8F5
surface
#EBF0E8
border
#C6CBC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A590E

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

Preview Lab → · Contrast checker → · Palette generator →

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