#638E23#638E23

#638E23 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.142 H 129.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#638E23
RGBrgb(99, 142, 35)
HSLhsl(84, 60%, 35%)
HSVhsv(84, 75%, 56%)
CMYKcmyk(30.3%, 0%, 75.4%, 44.3%)
CIE-LABlab(54.15, -31.46, 49.04)
CIE-LCHlch(54.15, 58.26, 122.68°)
OKLaboklab(59.41% -0.0897 0.1095)
OKLCHoklch(59.41% 0.142 129.3)
XYZxyz(15.1219, 22.1196, 5.0626)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E23 #4E238E
analogous
#8E8423 #638E23 #2E8E23
triadic
#638E23 #23638E #8E2363
tetradic
#638E23 #238E84 #4E238E #8E232E
square
#638E23 #238E84 #4E238E #8E232E
split-complementary
#638E23 #232E8E #84238E
monochromatic
#1F2C0B #415D17 #638E23 #85BF2F #A2D556

Accessibility & contrast

On white

3.87
#638E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#638E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638E23
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638E23#FFFFFF#000000##000000
##638E231.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#668879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638e23;
/* rgb */ color: rgb(99, 142, 35);
/* oklch */ color: oklch(59.4% 0.142 129.3);
Tailwind
colors: {
  custom: {
    50: '#93af66',
    500: '#638e23',
    950: '#000000',
  },
}
SCSS
$custom: #638e23;
$custom-light: #93af66;
$custom-dark: #000000;
JSON
{
  "hex": "#638e23",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 84.112,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59415,
    "c": 0.14154,
    "h": 129.3
  },
  "luminance": 0.2212
}

Semantic roles & 50–950 ramp

primary
#638E23
secondary
#7C53B9
accent
#44E484
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638E23

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

Preview Lab → · Contrast checker → · Palette generator →

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