#295011#295011

#295011 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.101 H 136.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#295011
RGBrgb(41, 80, 17)
HSLhsl(97, 65%, 19%)
HSVhsv(97, 79%, 31%)
CMYKcmyk(48.8%, 0%, 78.8%, 68.6%)
CIE-LABlab(30.03, -26.19, 31.09)
CIE-LCHlch(30.03, 40.65, 130.12°)
OKLaboklab(38.81% -0.0729 0.0702)
OKLCHoklch(38.81% 0.101 136.1)
XYZxyz(3.8842, 6.2490, 1.5317)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295011 #381150
analogous
#495011 #295011 #115019
triadic
#295011 #112950 #501129
tetradic
#295011 #114950 #381150 #501911
square
#295011 #114950 #381150 #501911
split-complementary
#295011 #191150 #501149
monochromatic
#0D1905 #0F1E06 #295011 #43821C #5DB526

Accessibility & contrast

On white

9.33
#295011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #295011
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295011#FFFFFF#000000##FFFFFF
##2950111.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534906
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#274D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #295011;
/* rgb */ color: rgb(41, 80, 17);
/* oklch */ color: oklch(38.8% 0.101 136.1);
Tailwind
colors: {
  custom: {
    50: '#678154',
    500: '#295011',
    950: '#000000',
  },
}
SCSS
$custom: #295011;
$custom-light: #678154;
$custom-dark: #000000;
JSON
{
  "hex": "#295011",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 97.143,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38807,
    "c": 0.10116,
    "h": 136.1
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#295011
secondary
#693389
accent
#40E8A8
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #295011

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

Preview Lab → · Contrast checker → · Palette generator →

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