#2A590F#2A590F

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

Color values

HEX#2A590F
RGBrgb(42, 89, 15)
HSLhsl(98, 71%, 20%)
HSVhsv(98, 83%, 35%)
CMYKcmyk(52.8%, 0%, 83.1%, 65.1%)
CIE-LABlab(33.29, -30.06, 35.10)
CIE-LCHlch(33.29, 46.21, 130.58°)
OKLaboklab(41.49% -0.0835 0.0782)
OKLCHoklch(41.49% 0.114 136.9)
XYZxyz(4.6133, 7.6712, 1.6894)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A590F #3E0F59
analogous
#4F590F #2A590F #0F5919
triadic
#2A590F #0F2A59 #590F2A
tetradic
#2A590F #0F4F59 #3E0F59 #59190F
square
#2A590F #0F4F59 #3E0F59 #59190F
split-complementary
#2A590F #190F59 #590F4F
monochromatic
#0C1A04 #112506 #2A590F #438D18 #5BC221

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A590F#FFFFFF#000000##FFFFFF
##2A590F1.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)
#564D17
Tritanopia (blue-blind)
#27554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a590f;
/* rgb */ color: rgb(42, 89, 15);
/* oklch */ color: oklch(41.5% 0.114 136.9);
Tailwind
colors: {
  custom: {
    50: '#698854',
    500: '#2a590f',
    950: '#000000',
  },
}
SCSS
$custom: #2a590f;
$custom-light: #698854;
$custom-dark: #000000;
JSON
{
  "hex": "#2a590f",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 15
  },
  "hsl": {
    "h": 98.108,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41491,
    "c": 0.11442,
    "h": 136.9
  },
  "luminance": 0.07671
}

Semantic roles & 50–950 ramp

primary
#2A590F
secondary
#6F3193
accent
#3AEEAC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A590F

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

Preview Lab → · Contrast checker → · Palette generator →

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