#638B23#638B23

#638B23 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.138 H 128.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#638B23
RGBrgb(99, 139, 35)
HSLhsl(83, 60%, 34%)
HSVhsv(83, 75%, 55%)
CMYKcmyk(28.8%, 0%, 74.8%, 45.5%)
CIE-LABlab(53.21, -30.04, 48.11)
CIE-LCHlch(53.21, 56.72, 121.98°)
OKLaboklab(58.65% -0.0858 0.1076)
OKLCHoklch(58.65% 0.138 128.6)
XYZxyz(14.6816, 21.2389, 4.9158)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638B23 #4B238B
analogous
#8B7F23 #638B23 #2F8B23
triadic
#638B23 #23638B #8B2363
tetradic
#638B23 #238B7F #4B238B #8B232F
square
#638B23 #238B7F #4B238B #8B232F
split-complementary
#638B23 #232F8B #7F238B
monochromatic
#1D290A #405A17 #638B23 #86BC2F #A3D454

Accessibility & contrast

On white

4.00
#638B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#638B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638B23
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638B23#FFFFFF#000000##000000
##638B231.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#668577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #638b23;
/* rgb */ color: rgb(99, 139, 35);
/* oklch */ color: oklch(58.6% 0.138 128.6);
Tailwind
colors: {
  custom: {
    50: '#93ad66',
    500: '#638b23',
    950: '#000000',
  },
}
SCSS
$custom: #638b23;
$custom-light: #93ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#638b23",
  "rgb": {
    "r": 99,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 83.077,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58647,
    "c": 0.13762,
    "h": 128.6
  },
  "luminance": 0.21239
}

Semantic roles & 50–950 ramp

primary
#638B23
secondary
#7952B8
accent
#45E382
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638B23

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

Preview Lab → · Contrast checker → · Palette generator →

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