#638C1F#638C1F

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

Color values

HEX#638C1F
RGBrgb(99, 140, 31)
HSLhsl(83, 64%, 34%)
HSVhsv(83, 78%, 55%)
CMYKcmyk(29.3%, 0%, 77.9%, 45.1%)
CIE-LABlab(53.50, -30.75, 49.82)
CIE-LCHlch(53.50, 58.55, 121.68°)
OKLaboklab(58.88% -0.0881 0.1105)
OKLCHoklch(58.88% 0.141 128.6)
XYZxyz(14.7710, 21.5074, 4.6692)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638C1F #481F8C
analogous
#8C7E1F #638C1F #2C8C1F
triadic
#638C1F #1F638C #8C1F63
tetradic
#638C1F #1F8C7E #481F8C #8C1F2C
square
#638C1F #1F8C7E #481F8C #8C1F2C
split-complementary
#638C1F #1F2C8C #7E1F8C
monochromatic
#1C2809 #405A14 #638C1F #86BE2A #A4D84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638C1F#FFFFFF#000000##000000
##638C1F1.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)
#938204
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#668577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #638c1f;
/* rgb */ color: rgb(99, 140, 31);
/* oklch */ color: oklch(58.9% 0.141 128.6);
Tailwind
colors: {
  custom: {
    50: '#93ae64',
    500: '#638c1f',
    950: '#000000',
  },
}
SCSS
$custom: #638c1f;
$custom-light: #93ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#638c1f",
  "rgb": {
    "r": 99,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 82.569,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.14132,
    "h": 128.6
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#638C1F
secondary
#764CBB
accent
#41E77F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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