#638B2F#638B2F

#638B2F is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.8% C 0.129 H 129.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#638B2F
RGBrgb(99, 139, 47)
HSLhsl(86, 49%, 36%)
HSVhsv(86, 66%, 55%)
CMYKcmyk(28.8%, 0%, 66.2%, 45.5%)
CIE-LABlab(53.30, -29.16, 43.29)
CIE-LCHlch(53.30, 52.20, 123.97°)
OKLaboklab(58.75% -0.0824 0.0992)
OKLCHoklch(58.75% 0.129 129.7)
XYZxyz(14.8912, 21.3227, 6.0199)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638B2F #572F8B
analogous
#8B852F #638B2F #358B2F
triadic
#638B2F #2F638B #8B2F63
tetradic
#638B2F #2F8B85 #572F8B #8B2F35
square
#638B2F #2F8B85 #572F8B #8B2F35
split-complementary
#638B2F #2F358B #852F8B
monochromatic
#223010 #425D20 #638B2F #84B93E #A1CC68

Accessibility & contrast

On white

3.99
#638B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#638B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638B2F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638B2F#FFFFFF#000000##000000
##638B2F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#668578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #638b2f;
/* rgb */ color: rgb(99, 139, 47);
/* oklch */ color: oklch(58.8% 0.129 129.7);
Tailwind
colors: {
  custom: {
    50: '#92ad6c',
    500: '#638b2f',
    950: '#000000',
  },
}
SCSS
$custom: #638b2f;
$custom-light: #92ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#638b2f",
  "rgb": {
    "r": 99,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 86.087,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5875,
    "c": 0.12898,
    "h": 129.7
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#638B2F
secondary
#8663B3
accent
#4FD98B
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #638B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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