#8B9D21#8B9D21

#8B9D21 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.0% C 0.142 H 117.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8B9D21
RGBrgb(139, 157, 33)
HSLhsl(69, 65%, 37%)
HSVhsv(69, 79%, 62%)
CMYKcmyk(11.5%, 0%, 79%, 38.4%)
CIE-LABlab(61.41, -22.16, 57.51)
CIE-LCHlch(61.41, 61.63, 111.07°)
OKLaboklab(65.97% -0.0668 0.1259)
OKLCHoklch(65.97% 0.143 117.9)
XYZxyz(22.9795, 29.7129, 5.9632)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9D21 #33219D
analogous
#9D7121 #8B9D21 #4D9D21
triadic
#8B9D21 #218B9D #9D218B
tetradic
#8B9D21 #219D71 #33219D #9D214D
square
#8B9D21 #219D71 #33219D #9D214D
split-complementary
#8B9D21 #214D9D #71219D
monochromatic
#31380C #5E6A16 #8B9D21 #B8D02C #CADD5C

Accessibility & contrast

On white

3.02
#8B9D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8B9D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9D21
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9D21#FFFFFF#000000##000000
##8B9D211.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#949486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8b9d21;
/* rgb */ color: rgb(139, 157, 33);
/* oklch */ color: oklch(66.0% 0.142 117.9);
Tailwind
colors: {
  custom: {
    50: '#b0b968',
    500: '#8b9d21',
    950: '#000000',
  },
}
SCSS
$custom: #8b9d21;
$custom-light: #b0b968;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9d21",
  "rgb": {
    "r": 139,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 68.71,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65973,
    "c": 0.1425,
    "h": 117.9
  },
  "luminance": 0.29713
}

Semantic roles & 50–950 ramp

primary
#8B9D21
secondary
#6859C1
accent
#40E858
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9D21

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

Preview Lab → · Contrast checker → · Palette generator →

#8B9D21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva