#295012#295012

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

Color values

HEX#295012
RGBrgb(41, 80, 18)
HSLhsl(98, 63%, 19%)
HSVhsv(98, 78%, 31%)
CMYKcmyk(48.8%, 0%, 77.5%, 68.6%)
CIE-LABlab(30.04, -26.11, 30.66)
CIE-LCHlch(30.04, 40.27, 130.41°)
OKLaboklab(38.82% -0.0726 0.0694)
OKLCHoklch(38.82% 0.1 136.3)
XYZxyz(3.8922, 6.2522, 1.5738)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295012 #391250
analogous
#485012 #295012 #12501A
triadic
#295012 #122950 #501229
tetradic
#295012 #124850 #391250 #501A12
square
#295012 #124850 #391250 #501A12
split-complementary
#295012 #1A1250 #501248
monochromatic
#0D1906 #0F1E07 #295012 #43821D #5CB428

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##295012#FFFFFF#000000##FFFFFF
##2950121.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)
#534908
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#274D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #295012;
/* rgb */ color: rgb(41, 80, 18);
/* oklch */ color: oklch(38.8% 0.100 136.3);
Tailwind
colors: {
  custom: {
    50: '#678154',
    500: '#295012',
    950: '#000000',
  },
}
SCSS
$custom: #295012;
$custom-light: #678154;
$custom-dark: #000000;
JSON
{
  "hex": "#295012",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 97.742,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.10043,
    "h": 136.3
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#295012
secondary
#6A3589
accent
#41E6A9
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #295012

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

Preview Lab → · Contrast checker → · Palette generator →

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