#638417#638417

#638417 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.8% C 0.135 H 125.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#638417
RGBrgb(99, 132, 23)
HSLhsl(78, 70%, 30%)
HSVhsv(78, 83%, 52%)
CMYKcmyk(25%, 0%, 82.6%, 48.2%)
CIE-LABlab(50.94, -27.33, 50.02)
CIE-LCHlch(50.94, 57.00, 118.65°)
OKLaboklab(56.78% -0.0794 0.1096)
OKLCHoklch(56.78% 0.135 125.9)
XYZxyz(13.5516, 19.2168, 3.8057)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638417 #381784
analogous
#846E17 #638417 #2C8417
triadic
#638417 #176384 #841763
tetradic
#638417 #17846E #381784 #84172C
square
#638417 #17846E #381784 #84172C
split-complementary
#638417 #172C84 #6E1784
monochromatic
#151C05 #3C500E #638417 #8AB820 #ABDC39

Accessibility & contrast

On white

4.34
#638417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#638417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638417
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638417#FFFFFF#000000##000000
##6384171.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#687D70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #638417;
/* rgb */ color: rgb(99, 132, 23);
/* oklch */ color: oklch(56.8% 0.135 125.9);
Tailwind
colors: {
  custom: {
    50: '#93a85f',
    500: '#638417',
    950: '#000000',
  },
}
SCSS
$custom: #638417;
$custom-light: #93a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#638417",
  "rgb": {
    "r": 99,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 78.165,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56783,
    "c": 0.1353,
    "h": 125.9
  },
  "luminance": 0.19217
}

Semantic roles & 50–950 ramp

primary
#638417
secondary
#633FB8
accent
#3BED71
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #638417

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

Preview Lab → · Contrast checker → · Palette generator →

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