#295A0F#295A0F

#295A0F is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.7% C 0.116 H 137.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#295A0F
RGBrgb(41, 90, 15)
HSLhsl(99, 71%, 21%)
HSVhsv(99, 83%, 35%)
CMYKcmyk(54.4%, 0%, 83.3%, 64.7%)
CIE-LABlab(33.60, -30.84, 35.38)
CIE-LCHlch(33.60, 46.93, 131.08°)
OKLaboklab(41.74% -0.0855 0.0788)
OKLCHoklch(41.74% 0.116 137.3)
XYZxyz(4.6567, 7.8179, 1.7155)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295A0F #400F5A
analogous
#4E5A0F #295A0F #0F5A1A
triadic
#295A0F #0F295A #5A0F29
tetradic
#295A0F #0F4E5A #400F5A #5A1A0F
square
#295A0F #0F4E5A #400F5A #5A1A0F
split-complementary
#295A0F #1A0F5A #5A0F4E
monochromatic
#0C1A04 #112606 #295A0F #418E18 #59C320

Accessibility & contrast

On white

8.19
#295A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#295A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295A0F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295A0F#FFFFFF#000000##FFFFFF
##295A0F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5200
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#26564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #295a0f;
/* rgb */ color: rgb(41, 90, 15);
/* oklch */ color: oklch(41.7% 0.116 137.3);
Tailwind
colors: {
  custom: {
    50: '#698954',
    500: '#295a0f',
    950: '#000000',
  },
}
SCSS
$custom: #295a0f;
$custom-light: #698954;
$custom-dark: #000000;
JSON
{
  "hex": "#295a0f",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 99.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41736,
    "c": 0.11631,
    "h": 137.3
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#295A0F
secondary
#713194
accent
#3AEEB0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #295A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#295A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva