#638418#638418

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

Color values

HEX#638418
RGBrgb(99, 132, 24)
HSLhsl(78, 69%, 31%)
HSVhsv(78, 82%, 52%)
CMYKcmyk(25%, 0%, 81.8%, 48.2%)
CIE-LABlab(50.94, -27.28, 49.72)
CIE-LCHlch(50.94, 56.72, 118.75°)
OKLaboklab(56.79% -0.0792 0.1091)
OKLCHoklch(56.79% 0.135 126)
XYZxyz(13.5618, 19.2209, 3.8595)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638418 #391884
analogous
#846F18 #638418 #2D8418
triadic
#638418 #186384 #841863
tetradic
#638418 #18846F #391884 #84182D
square
#638418 #18846F #391884 #84182D
split-complementary
#638418 #182D84 #6F1884
monochromatic
#151C05 #3C500F #638418 #8AB821 #AADB3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638418#FFFFFF#000000##000000
##6384181.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)
#877924
Tritanopia (blue-blind)
#687D70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #638418;
/* rgb */ color: rgb(99, 132, 24);
/* oklch */ color: oklch(56.8% 0.135 126.0);
Tailwind
colors: {
  custom: {
    50: '#93a860',
    500: '#638418',
    950: '#000000',
  },
}
SCSS
$custom: #638418;
$custom-light: #93a860;
$custom-dark: #000000;
JSON
{
  "hex": "#638418",
  "rgb": {
    "r": 99,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 78.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.13482,
    "h": 126
  },
  "luminance": 0.19221
}

Semantic roles & 50–950 ramp

primary
#638418
secondary
#6540B8
accent
#3CEC72
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #638418

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

Preview Lab → · Contrast checker → · Palette generator →

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