#8A9833#8A9833

#8A9833 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.8% C 0.125 H 116.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8A9833
RGBrgb(138, 152, 51)
HSLhsl(68, 50%, 40%)
HSVhsv(68, 66%, 60%)
CMYKcmyk(9.2%, 0%, 66.4%, 40.4%)
CIE-LABlab(59.98, -19.07, 49.45)
CIE-LCHlch(59.98, 53.00, 111.09°)
OKLaboklab(64.84% -0.0565 0.112)
OKLCHoklch(64.84% 0.125 116.8)
XYZxyz(22.3075, 28.0990, 7.3798)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9833 #413398
analogous
#987433 #8A9833 #579833
triadic
#8A9833 #338A98 #98338A
tetradic
#8A9833 #339874 #413398 #983357
square
#8A9833 #339874 #413398 #983357
split-complementary
#8A9833 #335798 #743398
monochromatic
#373C14 #606A24 #8A9833 #B0C147 #C4D175

Accessibility & contrast

On white

3.17
#8A9833 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#8A9833 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9833
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9833#FFFFFF#000000##000000
##8A98331.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29025
Deuteranopia (green-blind)
#A1913A
Tritanopia (blue-blind)
#929083
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9833;
/* rgb */ color: rgb(138, 152, 51);
/* oklch */ color: oklch(64.8% 0.125 116.8);
Tailwind
colors: {
  custom: {
    50: '#afb670',
    500: '#8a9833',
    950: '#000000',
  },
}
SCSS
$custom: #8a9833;
$custom-light: #afb670;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9833",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 51
  },
  "hsl": {
    "h": 68.317,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64843,
    "c": 0.12544,
    "h": 116.8
  },
  "luminance": 0.28099
}

Semantic roles & 50–950 ramp

primary
#8A9833
secondary
#786EB9
accent
#4FD962
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9833

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

Preview Lab → · Contrast checker → · Palette generator →

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