#638018#638018

#638018 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.8% C 0.130 H 124.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#638018
RGBrgb(99, 128, 24)
HSLhsl(77, 68%, 30%)
HSVhsv(77, 81%, 50%)
CMYKcmyk(22.7%, 0%, 81.3%, 49.8%)
CIE-LABlab(49.69, -25.32, 48.58)
CIE-LCHlch(49.69, 54.78, 117.53°)
OKLaboklab(55.77% -0.0738 0.1067)
OKLCHoklch(55.77% 0.13 124.7)
XYZxyz(13.0298, 18.1568, 3.6821)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638018 #351880
analogous
#806918 #638018 #2F8018
triadic
#638018 #186380 #801863
tetradic
#638018 #188069 #351880 #80182F
square
#638018 #188069 #351880 #80182F
split-complementary
#638018 #182F80 #691880
monochromatic
#141A05 #3B4C0E #638018 #8BB422 #ADDA39

Accessibility & contrast

On white

4.53
#638018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#638018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638018
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638018#FFFFFF#000000##000000
##6380181.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#68796D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #638018;
/* rgb */ color: rgb(99, 128, 24);
/* oklch */ color: oklch(55.8% 0.130 124.7);
Tailwind
colors: {
  custom: {
    50: '#93a55f',
    500: '#638018',
    950: '#000000',
  },
}
SCSS
$custom: #638018;
$custom-light: #93a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#638018",
  "rgb": {
    "r": 99,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 76.731,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.12974,
    "h": 124.7
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#638018
secondary
#6040B4
accent
#3DEB6D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #638018

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

Preview Lab → · Contrast checker → · Palette generator →

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