#638528#638528

#638528 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.2% C 0.126 H 127.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#638528
RGBrgb(99, 133, 40)
HSLhsl(82, 54%, 34%)
HSVhsv(82, 70%, 52%)
CMYKcmyk(25.6%, 0%, 69.9%, 47.8%)
CIE-LABlab(51.36, -26.81, 44.26)
CIE-LCHlch(51.36, 51.75, 121.21°)
OKLaboklab(57.16% -0.0766 0.1003)
OKLCHoklch(57.16% 0.126 127.4)
XYZxyz(13.9161, 19.5806, 5.0533)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638528 #4A2885
analogous
#857928 #638528 #358528
triadic
#638528 #286385 #852863
tetradic
#638528 #288579 #4A2885 #852835
square
#638528 #288579 #4A2885 #852835
split-complementary
#638528 #283585 #792885
monochromatic
#1D270C #40561A #638528 #86B436 #A3CD5A

Accessibility & contrast

On white

4.27
#638528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#638528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638528
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638528#FFFFFF#000000##000000
##6385281.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #638528;
/* rgb */ color: rgb(99, 133, 40);
/* oklch */ color: oklch(57.2% 0.126 127.4);
Tailwind
colors: {
  custom: {
    50: '#92a868',
    500: '#638528',
    950: '#000000',
  },
}
SCSS
$custom: #638528;
$custom-light: #92a868;
$custom-dark: #000000;
JSON
{
  "hex": "#638528",
  "rgb": {
    "r": 99,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 81.935,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57157,
    "c": 0.12617,
    "h": 127.4
  },
  "luminance": 0.19581
}

Semantic roles & 50–950 ramp

primary
#638528
secondary
#7856B3
accent
#4BDD80
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #638528

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

Preview Lab → · Contrast checker → · Palette generator →

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