#417823#417823

#417823 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.6% C 0.131 H 136.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#417823
RGBrgb(65, 120, 35)
HSLhsl(99, 55%, 30%)
HSVhsv(99, 71%, 47%)
CMYKcmyk(45.8%, 0%, 70.8%, 52.9%)
CIE-LABlab(45.19, -34.18, 39.36)
CIE-LCHlch(45.19, 52.13, 130.97°)
OKLaboklab(51.6% -0.0948 0.0898)
OKLCHoklch(51.6% 0.131 136.5)
XYZxyz(9.1996, 14.6776, 3.9381)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417823 #5A2378
analogous
#6B7823 #417823 #237830
triadic
#417823 #234178 #782341
tetradic
#417823 #236B78 #5A2378 #783023
square
#417823 #236B78 #5A2378 #783023
split-complementary
#417823 #302378 #78236B
monochromatic
#0E1907 #274915 #417823 #5BA731 #78CA4B

Accessibility & contrast

On white

5.34
#417823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#417823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417823
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417823#FFFFFF#000000##FFFFFF
##4178231.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E17
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#3F7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #417823;
/* rgb */ color: rgb(65, 120, 35);
/* oklch */ color: oklch(51.6% 0.131 136.5);
Tailwind
colors: {
  custom: {
    50: '#7b9f63',
    500: '#417823',
    950: '#000000',
  },
}
SCSS
$custom: #417823;
$custom-light: #7b9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#417823",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 98.824,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.13061,
    "h": 136.5
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#417823
secondary
#894CAB
accent
#4ADEAA
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #417823

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

Preview Lab → · Contrast checker → · Palette generator →

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