#417112#417112

#417112 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.132 H 133.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#417112
RGBrgb(65, 113, 18)
HSLhsl(90, 73%, 26%)
HSVhsv(90, 84%, 44%)
CMYKcmyk(42.5%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.73, -32.26, 43.33)
CIE-LCHlch(42.73, 54.02, 126.67°)
OKLaboklab(49.55% -0.0909 0.0955)
OKLCHoklch(49.55% 0.132 133.6)
XYZxyz(8.1941, 12.9773, 2.6453)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417112 #421271
analogous
#707112 #417112 #127113
triadic
#417112 #124171 #711241
tetradic
#417112 #127071 #421271 #711312
square
#417112 #127071 #421271 #711312
split-complementary
#417112 #131271 #711270
monochromatic
#0F1A04 #233C0A #417112 #5FA61A #7EDB23

Accessibility & contrast

On white

5.84
#417112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#417112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417112
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417112#FFFFFF#000000##FFFFFF
##4171121.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6F641D
Tritanopia (blue-blind)
#416C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #417112;
/* rgb */ color: rgb(65, 113, 18);
/* oklch */ color: oklch(49.6% 0.132 133.6);
Tailwind
colors: {
  custom: {
    50: '#7b9a59',
    500: '#417112',
    950: '#000000',
  },
}
SCSS
$custom: #417112;
$custom-light: #7b9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#417112",
  "rgb": {
    "r": 65,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 90.316,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.13183,
    "h": 133.6
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#417112
secondary
#7037A8
accent
#39EF95
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417112

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

Preview Lab → · Contrast checker → · Palette generator →

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