#417819#417819

#417819 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.5% C 0.137 H 135.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#417819
RGBrgb(65, 120, 25)
HSLhsl(95, 66%, 28%)
HSVhsv(95, 79%, 47%)
CMYKcmyk(45.8%, 0%, 79.2%, 52.9%)
CIE-LABlab(45.12, -34.94, 43.24)
CIE-LCHlch(45.12, 55.59, 128.94°)
OKLaboklab(51.52% -0.0976 0.0965)
OKLCHoklch(51.52% 0.137 135.3)
XYZxyz(9.0717, 14.6264, 3.2647)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417819 #501978
analogous
#707819 #417819 #197820
triadic
#417819 #194178 #781941
tetradic
#417819 #197078 #501978 #782019
square
#417819 #197078 #501978 #782019
split-complementary
#417819 #201978 #781970
monochromatic
#0E1905 #26450E #417819 #5CAB24 #79D536

Accessibility & contrast

On white

5.35
#417819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#417819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417819
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417819#FFFFFF#000000##FFFFFF
##4178191.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#3F7366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #417819;
/* rgb */ color: rgb(65, 120, 25);
/* oklch */ color: oklch(51.5% 0.137 135.3);
Tailwind
colors: {
  custom: {
    50: '#7b9f5e',
    500: '#417819',
    950: '#000000',
  },
}
SCSS
$custom: #417819;
$custom-light: #7b9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#417819",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 94.737,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.13723,
    "h": 135.3
  },
  "luminance": 0.14627
}

Semantic roles & 50–950 ramp

primary
#417819
secondary
#7F40AD
accent
#3FE8A1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #417819

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

Preview Lab → · Contrast checker → · Palette generator →

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