#417022#417022

#417022 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.120 H 135.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#417022
RGBrgb(65, 112, 34)
HSLhsl(96, 53%, 29%)
HSVhsv(96, 70%, 44%)
CMYKcmyk(42%, 0%, 69.6%, 56.1%)
CIE-LABlab(42.50, -30.67, 36.95)
CIE-LCHlch(42.50, 48.02, 129.69°)
OKLaboklab(49.4% -0.0853 0.0846)
OKLCHoklch(49.4% 0.12 135.2)
XYZxyz(8.2627, 12.8272, 3.5536)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417022 #512270
analogous
#687022 #417022 #22702A
triadic
#417022 #224170 #702241
tetradic
#417022 #226870 #512270 #702A22
square
#417022 #226870 #512270 #702A22
split-complementary
#417022 #2A2270 #702268
monochromatic
#0E1707 #264114 #417022 #5C9F30 #79C746

Accessibility & contrast

On white

5.89
#417022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#417022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417022
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417022#FFFFFF#000000##FFFFFF
##4170221.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746717
Deuteranopia (green-blind)
#6E6329
Tritanopia (blue-blind)
#406C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #417022;
/* rgb */ color: rgb(65, 112, 34);
/* oklch */ color: oklch(49.4% 0.120 135.2);
Tailwind
colors: {
  custom: {
    50: '#7a9961',
    500: '#417022',
    950: '#000000',
  },
}
SCSS
$custom: #417022;
$custom-light: #7a9961;
$custom-dark: #000000;
JSON
{
  "hex": "#417022",
  "rgb": {
    "r": 65,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 96.154,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.494,
    "c": 0.1202,
    "h": 135.2
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#417022
secondary
#804AA3
accent
#4BDDA3
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #417022

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

Preview Lab → · Contrast checker → · Palette generator →

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