#638B1E#638B1E

#638B1E 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#638B1E
RGBrgb(99, 139, 30)
HSLhsl(82, 64%, 33%)
HSVhsv(82, 78%, 55%)
CMYKcmyk(28.8%, 0%, 78.4%, 45.5%)
CIE-LABlab(53.18, -30.33, 49.86)
CIE-LCHlch(53.18, 58.36, 121.32°)
OKLaboklab(58.61% -0.087 0.1104)
OKLCHoklch(58.61% 0.141 128.2)
XYZxyz(14.6126, 21.2113, 4.5523)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638B1E #461E8B
analogous
#8B7C1E #638B1E #2D8B1E
triadic
#638B1E #1E638B #8B1E63
tetradic
#638B1E #1E8B7C #461E8B #8B1E2D
square
#638B1E #1E8B7C #461E8B #8B1E2D
split-complementary
#638B1E #1E2D8B #7C1E8B
monochromatic
#1B2608 #3F5913 #638B1E #87BD29 #A4D84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638B1E#FFFFFF#000000##000000
##638B1E1.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)
#928102
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#678477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #638b1e;
/* rgb */ color: rgb(99, 139, 30);
/* oklch */ color: oklch(58.6% 0.141 128.2);
Tailwind
colors: {
  custom: {
    50: '#93ad63',
    500: '#638b1e',
    950: '#000000',
  },
}
SCSS
$custom: #638b1e;
$custom-light: #93ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#638b1e",
  "rgb": {
    "r": 99,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 82.018,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58613,
    "c": 0.14059,
    "h": 128.2
  },
  "luminance": 0.21212
}

Semantic roles & 50–950 ramp

primary
#638B1E
secondary
#734ABB
accent
#40E77E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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