#295211#295211

#295211 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.104 H 136.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#295211
RGBrgb(41, 82, 17)
HSLhsl(98, 66%, 19%)
HSVhsv(98, 79%, 32%)
CMYKcmyk(50%, 0%, 79.3%, 67.8%)
CIE-LABlab(30.75, -27.12, 31.81)
CIE-LCHlch(30.75, 41.80, 130.45°)
OKLaboklab(39.4% -0.0754 0.0717)
OKLCHoklch(39.4% 0.104 136.4)
XYZxyz(4.0328, 6.5462, 1.5813)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295211 #3A1152
analogous
#4A5211 #295211 #115219
triadic
#295211 #112952 #521129
tetradic
#295211 #114A52 #3A1152 #521911
square
#295211 #114A52 #3A1152 #521911
split-complementary
#295211 #191152 #52114A
monochromatic
#0D1905 #101F06 #295211 #42851C #5CB726

Accessibility & contrast

On white

9.09
#295211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#295211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295211
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295211#FFFFFF#000000##FFFFFF
##2952111.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B06
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#274F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #295211;
/* rgb */ color: rgb(41, 82, 17);
/* oklch */ color: oklch(39.4% 0.104 136.4);
Tailwind
colors: {
  custom: {
    50: '#678354',
    500: '#295211',
    950: '#000000',
  },
}
SCSS
$custom: #295211;
$custom-light: #678354;
$custom-dark: #000000;
JSON
{
  "hex": "#295211",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 97.846,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39397,
    "c": 0.10401,
    "h": 136.4
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#295211
secondary
#6B348B
accent
#3FE9AA
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #295211

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

Preview Lab → · Contrast checker → · Palette generator →

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