#638218#638218

#638218 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.132 H 125.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#638218
RGBrgb(99, 130, 24)
HSLhsl(78, 69%, 30%)
HSVhsv(78, 82%, 51%)
CMYKcmyk(23.8%, 0%, 81.5%, 49%)
CIE-LABlab(50.32, -26.30, 49.15)
CIE-LCHlch(50.32, 55.75, 118.15°)
OKLaboklab(56.28% -0.0765 0.1079)
OKLCHoklch(56.28% 0.132 125.3)
XYZxyz(13.2932, 18.6837, 3.7699)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638218 #371882
analogous
#826C18 #638218 #2E8218
triadic
#638218 #186382 #821863
tetradic
#638218 #18826C #371882 #82182E
square
#638218 #18826C #371882 #82182E
split-complementary
#638218 #182E82 #6C1882
monochromatic
#141B05 #3C4E0E #638218 #8AB622 #ACDB3A

Accessibility & contrast

On white

4.43
#638218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#638218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638218
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638218#FFFFFF#000000##000000
##6382181.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#687B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #638218;
/* rgb */ color: rgb(99, 130, 24);
/* oklch */ color: oklch(56.3% 0.132 125.3);
Tailwind
colors: {
  custom: {
    50: '#93a65f',
    500: '#638218',
    950: '#000000',
  },
}
SCSS
$custom: #638218;
$custom-light: #93a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#638218",
  "rgb": {
    "r": 99,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 77.547,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.13228,
    "h": 125.3
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#638218
secondary
#6240B6
accent
#3CEC6F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #638218

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

Preview Lab → · Contrast checker → · Palette generator →

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