#638F23#638F23

#638F23 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.143 H 129.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#638F23
RGBrgb(99, 143, 35)
HSLhsl(84, 61%, 35%)
HSVhsv(84, 76%, 56%)
CMYKcmyk(30.8%, 0%, 75.5%, 43.9%)
CIE-LABlab(54.47, -31.92, 49.34)
CIE-LCHlch(54.47, 58.77, 122.90°)
OKLaboklab(59.67% -0.0909 0.1102)
OKLCHoklch(59.67% 0.143 129.5)
XYZxyz(15.2714, 22.4185, 5.1124)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638F23 #4F238F
analogous
#8F8523 #638F23 #2D8F23
triadic
#638F23 #23638F #8F2363
tetradic
#638F23 #238F85 #4F238F #8F232D
square
#638F23 #238F85 #4F238F #8F232D
split-complementary
#638F23 #232D8F #85238F
monochromatic
#1F2D0B #415E17 #638F23 #85C02F #A2D657

Accessibility & contrast

On white

3.83
#638F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#638F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638F23
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638F23#FFFFFF#000000##000000
##638F231.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840D
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#66897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #638f23;
/* rgb */ color: rgb(99, 143, 35);
/* oklch */ color: oklch(59.7% 0.143 129.5);
Tailwind
colors: {
  custom: {
    50: '#93b066',
    500: '#638f23',
    950: '#000000',
  },
}
SCSS
$custom: #638f23;
$custom-light: #93b066;
$custom-dark: #000000;
JSON
{
  "hex": "#638f23",
  "rgb": {
    "r": 99,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 84.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59671,
    "c": 0.14285,
    "h": 129.5
  },
  "luminance": 0.22419
}

Semantic roles & 50–950 ramp

primary
#638F23
secondary
#7D54BA
accent
#44E485
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638F23

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

Preview Lab → · Contrast checker → · Palette generator →

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