#638D23#638D23

#638D23 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.140 H 129.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#638D23
RGBrgb(99, 141, 35)
HSLhsl(84, 60%, 35%)
HSVhsv(84, 75%, 55%)
CMYKcmyk(29.8%, 0%, 75.2%, 44.7%)
CIE-LABlab(53.84, -30.99, 48.73)
CIE-LCHlch(53.84, 57.75, 122.45°)
OKLaboklab(59.16% -0.0884 0.1089)
OKLCHoklch(59.16% 0.14 129.1)
XYZxyz(14.9738, 21.8233, 5.0132)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D23 #4D238D
analogous
#8D8223 #638D23 #2E8D23
triadic
#638D23 #23638D #8D2363
tetradic
#638D23 #238D82 #4D238D #8D232E
square
#638D23 #238D82 #4D238D #8D232E
split-complementary
#638D23 #232E8D #82238D
monochromatic
#1E2B0B #415C17 #638D23 #85BE2F #A2D555

Accessibility & contrast

On white

3.91
#638D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#638D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638D23
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638D23#FFFFFF#000000##000000
##638D231.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830E
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#668779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d23;
/* rgb */ color: rgb(99, 141, 35);
/* oklch */ color: oklch(59.2% 0.140 129.1);
Tailwind
colors: {
  custom: {
    50: '#93ae66',
    500: '#638d23',
    950: '#000000',
  },
}
SCSS
$custom: #638d23;
$custom-light: #93ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#638d23",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 83.774,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59159,
    "c": 0.14024,
    "h": 129.1
  },
  "luminance": 0.21824
}

Semantic roles & 50–950 ramp

primary
#638D23
secondary
#7B53B9
accent
#44E383
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638D23

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

Preview Lab → · Contrast checker → · Palette generator →

#638D23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva