#417815#417815

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

Color values

HEX#417815
RGBrgb(65, 120, 21)
HSLhsl(93, 70%, 28%)
HSVhsv(93, 83%, 47%)
CMYKcmyk(45.8%, 0%, 82.5%, 52.9%)
CIE-LABlab(45.10, -35.18, 44.57)
CIE-LCHlch(45.10, 56.79, 128.28°)
OKLaboklab(51.5% -0.0985 0.0986)
OKLCHoklch(51.5% 0.139 135)
XYZxyz(9.0316, 14.6104, 3.0535)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417815 #4C1578
analogous
#737815 #417815 #15781A
triadic
#417815 #154178 #781541
tetradic
#417815 #157378 #4C1578 #781A15
square
#417815 #157378 #4C1578 #781A15
split-complementary
#417815 #1A1578 #781573
monochromatic
#0E1A05 #25440C #417815 #5DAC1E #7ADA2D

Accessibility & contrast

On white

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

On black

3.92
#417815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##417815#FFFFFF#000000##FFFFFF
##4178151.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#407366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #417815;
/* rgb */ color: rgb(65, 120, 21);
/* oklch */ color: oklch(51.5% 0.139 135.0);
Tailwind
colors: {
  custom: {
    50: '#7b9f5c',
    500: '#417815',
    950: '#000000',
  },
}
SCSS
$custom: #417815;
$custom-light: #7b9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417815",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 93.333,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.13939,
    "h": 135
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#417815
secondary
#7B3BAE
accent
#3BED9E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417815

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

Preview Lab → · Contrast checker → · Palette generator →

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