#638121#638121

#638121 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 56.1% C 0.126 H 125.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#638121
RGBrgb(99, 129, 33)
HSLhsl(79, 59%, 32%)
HSVhsv(79, 74%, 51%)
CMYKcmyk(23.3%, 0%, 74.4%, 49.4%)
CIE-LABlab(50.05, -25.32, 45.76)
CIE-LCHlch(50.05, 52.30, 118.96°)
OKLaboklab(56.08% -0.0731 0.1023)
OKLCHoklch(56.08% 0.126 125.5)
XYZxyz(13.2704, 18.4628, 4.3031)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638121 #3F2181
analogous
#816F21 #638121 #338121
triadic
#638121 #216381 #812163
tetradic
#638121 #21816F #3F2181 #812133
square
#638121 #21816F #3F2181 #812133
split-complementary
#638121 #213381 #6F2181
monochromatic
#182008 #3E5015 #638121 #88B22D #A7D14B

Accessibility & contrast

On white

4.48
#638121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#638121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638121
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638121#FFFFFF#000000##000000
##6381211.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#687B6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #638121;
/* rgb */ color: rgb(99, 129, 33);
/* oklch */ color: oklch(56.1% 0.126 125.5);
Tailwind
colors: {
  custom: {
    50: '#92a563',
    500: '#638121',
    950: '#000000',
  },
}
SCSS
$custom: #638121;
$custom-light: #92a563;
$custom-dark: #000000;
JSON
{
  "hex": "#638121",
  "rgb": {
    "r": 99,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 78.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.12575,
    "h": 125.5
  },
  "luminance": 0.18463
}

Semantic roles & 50–950 ramp

primary
#638121
secondary
#6B4AB4
accent
#45E276
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #638121

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

Preview Lab → · Contrast checker → · Palette generator →

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