#295015#295015

#295015 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.8% C 0.098 H 136.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#295015
RGBrgb(41, 80, 21)
HSLhsl(100, 58%, 20%)
HSVhsv(100, 74%, 31%)
CMYKcmyk(48.8%, 0%, 73.7%, 68.6%)
CIE-LABlab(30.07, -25.83, 29.32)
CIE-LCHlch(30.07, 39.08, 131.38°)
OKLaboklab(38.85% -0.0716 0.0671)
OKLCHoklch(38.85% 0.098 136.9)
XYZxyz(3.9184, 6.2626, 1.7117)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295015 #3C1550
analogous
#475015 #295015 #15501F
triadic
#295015 #152950 #501529
tetradic
#295015 #154750 #3C1550 #501F15
square
#295015 #154750 #3C1550 #501F15
split-complementary
#295015 #1F1550 #501547
monochromatic
#0C1806 #102008 #295015 #428022 #5BB12E

Accessibility & contrast

On white

9.32
#295015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#295015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295015
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295015#FFFFFF#000000##FFFFFF
##2950151.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#274D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #295015;
/* rgb */ color: rgb(41, 80, 21);
/* oklch */ color: oklch(38.8% 0.098 136.9);
Tailwind
colors: {
  custom: {
    50: '#678156',
    500: '#295015',
    950: '#000000',
  },
}
SCSS
$custom: #295015;
$custom-light: #678156;
$custom-dark: #000000;
JSON
{
  "hex": "#295015",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 99.661,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38845,
    "c": 0.09809,
    "h": 136.9
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#295015
secondary
#6D3988
accent
#46E2AD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #295015

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

Preview Lab → · Contrast checker → · Palette generator →

#295015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva