#638522#638522

#638522 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.1% C 0.130 H 126.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#638522
RGBrgb(99, 133, 34)
HSLhsl(81, 59%, 33%)
HSVhsv(81, 74%, 52%)
CMYKcmyk(25.6%, 0%, 74.4%, 47.8%)
CIE-LABlab(51.32, -27.22, 46.62)
CIE-LCHlch(51.32, 53.99, 120.28°)
OKLaboklab(57.11% -0.0782 0.1043)
OKLCHoklch(57.11% 0.13 126.9)
XYZxyz(13.8219, 19.5429, 4.5570)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638522 #442285
analogous
#857522 #638522 #328522
triadic
#638522 #226385 #852263
tetradic
#638522 #228575 #442285 #852232
square
#638522 #228575 #442285 #852232
split-complementary
#638522 #223285 #752285
monochromatic
#1A2409 #3F5416 #638522 #87B62E #A5D24F

Accessibility & contrast

On white

4.28
#638522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#638522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638522
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638522#FFFFFF#000000##000000
##6385221.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C10
Deuteranopia (green-blind)
#877A2B
Tritanopia (blue-blind)
#677F72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #638522;
/* rgb */ color: rgb(99, 133, 34);
/* oklch */ color: oklch(57.1% 0.130 126.9);
Tailwind
colors: {
  custom: {
    50: '#93a864',
    500: '#638522',
    950: '#000000',
  },
}
SCSS
$custom: #638522;
$custom-light: #93a864;
$custom-dark: #000000;
JSON
{
  "hex": "#638522",
  "rgb": {
    "r": 99,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 80.606,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57108,
    "c": 0.13037,
    "h": 126.9
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#638522
secondary
#714DB6
accent
#45E27B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #638522

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

Preview Lab → · Contrast checker → · Palette generator →

#638522 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva