#417213#417213

#417213 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.133 H 133.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#417213
RGBrgb(65, 114, 19)
HSLhsl(91, 71%, 26%)
HSVhsv(91, 83%, 45%)
CMYKcmyk(43%, 0%, 83.3%, 55.3%)
CIE-LABlab(43.07, -32.66, 43.33)
CIE-LCHlch(43.07, 54.26, 127.00°)
OKLaboklab(49.83% -0.0919 0.0957)
OKLCHoklch(49.83% 0.133 133.8)
XYZxyz(8.3147, 13.2050, 2.7267)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417213 #441372
analogous
#707213 #417213 #137214
triadic
#417213 #134172 #721341
tetradic
#417213 #137072 #441372 #721413
square
#417213 #137072 #441372 #721413
split-complementary
#417213 #141372 #721370
monochromatic
#0F1A04 #233E0A #417213 #5FA61C #7DDB25

Accessibility & contrast

On white

5.77
#417213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#417213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417213
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417213#FFFFFF#000000##FFFFFF
##4172131.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#416D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417213;
/* rgb */ color: rgb(65, 114, 19);
/* oklch */ color: oklch(49.8% 0.133 133.8);
Tailwind
colors: {
  custom: {
    50: '#7b9b5a',
    500: '#417213',
    950: '#000000',
  },
}
SCSS
$custom: #417213;
$custom-light: #7b9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#417213",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 90.947,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49833,
    "c": 0.13265,
    "h": 133.8
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#417213
secondary
#7238A9
accent
#3AEE97
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417213

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

Preview Lab → · Contrast checker → · Palette generator →

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