#295111#295111

#295111 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.1% C 0.103 H 136.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#295111
RGBrgb(41, 81, 17)
HSLhsl(98, 65%, 19%)
HSVhsv(98, 79%, 32%)
CMYKcmyk(49.4%, 0%, 79%, 68.2%)
CIE-LABlab(30.39, -26.66, 31.45)
CIE-LCHlch(30.39, 41.23, 130.29°)
OKLaboklab(39.1% -0.0741 0.0709)
OKLCHoklch(39.1% 0.103 136.3)
XYZxyz(3.9580, 6.3965, 1.5563)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295111 #391151
analogous
#495111 #295111 #115119
triadic
#295111 #112951 #511129
tetradic
#295111 #114951 #391151 #511911
square
#295111 #114951 #391151 #511911
split-complementary
#295111 #191151 #511149
monochromatic
#0D1905 #0F1E06 #295111 #43841C #5CB626

Accessibility & contrast

On white

9.21
#295111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#295111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295111
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295111#FFFFFF#000000##FFFFFF
##2951111.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A06
Deuteranopia (green-blind)
#4F4617
Tritanopia (blue-blind)
#274E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #295111;
/* rgb */ color: rgb(41, 81, 17);
/* oklch */ color: oklch(39.1% 0.103 136.3);
Tailwind
colors: {
  custom: {
    50: '#678254',
    500: '#295111',
    950: '#000000',
  },
}
SCSS
$custom: #295111;
$custom-light: #678254;
$custom-dark: #000000;
JSON
{
  "hex": "#295111",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 97.5,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39102,
    "c": 0.10259,
    "h": 136.3
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#295111
secondary
#6A348A
accent
#40E8A9
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #295111

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

Preview Lab → · Contrast checker → · Palette generator →

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