#638028#638028

#638028 is a mid, moderate yellow-green. Relative luminance 0.182; OKLCH L 55.9% C 0.119 H 125.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#638028
RGBrgb(99, 128, 40)
HSLhsl(80, 52%, 33%)
HSVhsv(80, 69%, 50%)
CMYKcmyk(22.7%, 0%, 68.8%, 49.8%)
CIE-LABlab(49.79, -24.34, 42.63)
CIE-LCHlch(49.79, 49.09, 119.72°)
OKLaboklab(55.89% -0.0698 0.0969)
OKLCHoklch(55.89% 0.119 125.8)
XYZxyz(13.2478, 18.2440, 4.8306)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638028 #452880
analogous
#807128 #638028 #378028
triadic
#638028 #286380 #802863
tetradic
#638028 #288071 #452880 #802837
square
#638028 #288071 #452880 #802837
split-complementary
#638028 #283780 #712880
monochromatic
#1B230B #3F5119 #638028 #87AF37 #A5CB58

Accessibility & contrast

On white

4.52
#638028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#638028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638028
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638028#FFFFFF#000000##000000
##6380281.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771C
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#677A6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #638028;
/* rgb */ color: rgb(99, 128, 40);
/* oklch */ color: oklch(55.9% 0.119 125.8);
Tailwind
colors: {
  custom: {
    50: '#92a567',
    500: '#638028',
    950: '#000000',
  },
}
SCSS
$custom: #638028;
$custom-light: #92a567;
$custom-dark: #000000;
JSON
{
  "hex": "#638028",
  "rgb": {
    "r": 99,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 79.773,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.11936,
    "h": 125.8
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#638028
secondary
#7254B0
accent
#4CDC7B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #638028

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

Preview Lab → · Contrast checker → · Palette generator →

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