#638C1D#638C1D

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

Color values

HEX#638C1D
RGBrgb(99, 140, 29)
HSLhsl(82, 66%, 33%)
HSVhsv(82, 79%, 55%)
CMYKcmyk(29.3%, 0%, 79.3%, 45.1%)
CIE-LABlab(53.49, -30.86, 50.48)
CIE-LCHlch(53.49, 59.17, 121.44°)
OKLaboklab(58.86% -0.0885 0.1116)
OKLCHoklch(58.86% 0.142 128.4)
XYZxyz(14.7454, 21.4971, 4.5346)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638C1D #461D8C
analogous
#8C7D1D #638C1D #2C8C1D
triadic
#638C1D #1D638C #8C1D63
tetradic
#638C1D #1D8C7D #461D8C #8C1D2C
square
#638C1D #1D8C7D #461D8C #8C1D2C
split-complementary
#638C1D #1D2C8C #7D1D8C
monochromatic
#1B2708 #3F5912 #638C1D #87BF28 #A4D94A

Accessibility & contrast

On white

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

On black

5.30
#638C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638C1D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638C1D#FFFFFF#000000##000000
##638C1D1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#678577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #638c1d;
/* rgb */ color: rgb(99, 140, 29);
/* oklch */ color: oklch(58.9% 0.142 128.4);
Tailwind
colors: {
  custom: {
    50: '#93ae63',
    500: '#638c1d',
    950: '#000000',
  },
}
SCSS
$custom: #638c1d;
$custom-light: #93ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#638c1d",
  "rgb": {
    "r": 99,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 82.162,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.14242,
    "h": 128.4
  },
  "luminance": 0.21498
}

Semantic roles & 50–950 ramp

primary
#638C1D
secondary
#7349BC
accent
#3FE97E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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