#8A9B33#8A9B33

#8A9B33 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.5% C 0.129 H 118.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8A9B33
RGBrgb(138, 155, 51)
HSLhsl(70, 50%, 40%)
HSVhsv(70, 67%, 61%)
CMYKcmyk(11%, 0%, 67.1%, 39.2%)
CIE-LABlab(60.86, -20.60, 50.37)
CIE-LCHlch(60.86, 54.42, 112.25°)
OKLaboklab(65.55% -0.0608 0.1139)
OKLCHoklch(65.55% 0.129 118.1)
XYZxyz(22.8006, 29.0852, 7.5442)
Luminance0.2908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B33 #44339B
analogous
#9B7833 #8A9B33 #569B33
triadic
#8A9B33 #338A9B #9B338A
tetradic
#8A9B33 #339B78 #44339B #9B3356
square
#8A9B33 #339B78 #44339B #9B3356
split-complementary
#8A9B33 #33569B #78339B
monochromatic
#383F15 #616D24 #8A9B33 #AFC348 #C3D276

Accessibility & contrast

On white

3.08
#8A9B33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#8A9B33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B33
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B33#FFFFFF#000000##000000
##8A9B331.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59325
Deuteranopia (green-blind)
#A3933B
Tritanopia (blue-blind)
#929386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b33;
/* rgb */ color: rgb(138, 155, 51);
/* oklch */ color: oklch(65.5% 0.129 118.1);
Tailwind
colors: {
  custom: {
    50: '#afb870',
    500: '#8a9b33',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b33;
$custom-light: #afb870;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b33",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 51
  },
  "hsl": {
    "h": 69.808,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65548,
    "c": 0.12912,
    "h": 118.1
  },
  "luminance": 0.29085
}

Semantic roles & 50–950 ramp

primary
#8A9B33
secondary
#7C6FBA
accent
#4EDA65
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9B33

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

Preview Lab → · Contrast checker → · Palette generator →

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