#638B1D#638B1D

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

Color values

HEX#638B1D
RGBrgb(99, 139, 29)
HSLhsl(82, 65%, 33%)
HSVhsv(82, 79%, 55%)
CMYKcmyk(28.8%, 0%, 79.1%, 45.5%)
CIE-LABlab(53.17, -30.39, 50.19)
CIE-LCHlch(53.17, 58.67, 121.19°)
OKLaboklab(58.61% -0.0872 0.1109)
OKLCHoklch(58.61% 0.141 128.2)
XYZxyz(14.6000, 21.2062, 4.4862)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638B1D #451D8B
analogous
#8B7C1D #638B1D #2C8B1D
triadic
#638B1D #1D638B #8B1D63
tetradic
#638B1D #1D8B7C #451D8B #8B1D2C
square
#638B1D #1D8B7C #451D8B #8B1D2C
split-complementary
#638B1D #1D2C8B #7C1D8B
monochromatic
#1B2608 #3F5812 #638B1D #87BE28 #A5D949

Accessibility & contrast

On white

4.01
#638B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#638B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638B1D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638B1D#FFFFFF#000000##000000
##638B1D1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#678477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #638b1d;
/* rgb */ color: rgb(99, 139, 29);
/* oklch */ color: oklch(58.6% 0.141 128.2);
Tailwind
colors: {
  custom: {
    50: '#93ad63',
    500: '#638b1d',
    950: '#000000',
  },
}
SCSS
$custom: #638b1d;
$custom-light: #93ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#638b1d",
  "rgb": {
    "r": 99,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 81.818,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58607,
    "c": 0.14114,
    "h": 128.2
  },
  "luminance": 0.21207
}

Semantic roles & 50–950 ramp

primary
#638B1D
secondary
#7249BB
accent
#3FE87D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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