#638C23#638C23

#638C23 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.139 H 128.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#638C23
RGBrgb(99, 140, 35)
HSLhsl(83, 60%, 34%)
HSVhsv(83, 75%, 55%)
CMYKcmyk(29.3%, 0%, 75%, 45.1%)
CIE-LABlab(53.52, -30.52, 48.42)
CIE-LCHlch(53.52, 57.23, 122.22°)
OKLaboklab(58.9% -0.0871 0.1082)
OKLCHoklch(58.9% 0.139 128.8)
XYZxyz(14.8270, 21.5298, 4.9643)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638C23 #4C238C
analogous
#8C8123 #638C23 #2E8C23
triadic
#638C23 #23638C #8C2363
tetradic
#638C23 #238C81 #4C238C #8C232E
square
#638C23 #238C81 #4C238C #8C232E
split-complementary
#638C23 #232E8C #81238C
monochromatic
#1E2A0B #405B17 #638C23 #86BD2F #A3D455

Accessibility & contrast

On white

3.96
#638C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#638C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638C23
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638C23#FFFFFF#000000##000000
##638C231.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#668678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #638c23;
/* rgb */ color: rgb(99, 140, 35);
/* oklch */ color: oklch(58.9% 0.139 128.8);
Tailwind
colors: {
  custom: {
    50: '#93ae66',
    500: '#638c23',
    950: '#000000',
  },
}
SCSS
$custom: #638c23;
$custom-light: #93ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#638c23",
  "rgb": {
    "r": 99,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 83.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.13894,
    "h": 128.8
  },
  "luminance": 0.2153
}

Semantic roles & 50–950 ramp

primary
#638C23
secondary
#7A52B8
accent
#45E383
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638C23

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

Preview Lab → · Contrast checker → · Palette generator →

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