#8A9B30#8A9B30

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

Color values

HEX#8A9B30
RGBrgb(138, 155, 48)
HSLhsl(70, 53%, 40%)
HSVhsv(70, 69%, 61%)
CMYKcmyk(11%, 0%, 69%, 39.2%)
CIE-LABlab(60.83, -20.80, 51.57)
CIE-LCHlch(60.83, 55.61, 111.96°)
OKLaboklab(65.52% -0.0616 0.116)
OKLCHoklch(65.52% 0.131 118)
XYZxyz(22.7365, 29.0596, 7.2070)
Luminance0.2906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B30 #41309B
analogous
#9B7730 #8A9B30 #549B30
triadic
#8A9B30 #308A9B #9B308A
tetradic
#8A9B30 #309B77 #41309B #9B3054
square
#8A9B30 #309B77 #41309B #9B3054
split-complementary
#8A9B30 #30549B #77309B
monochromatic
#373E13 #606C22 #8A9B30 #B0C543 #C4D372

Accessibility & contrast

On white

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

On black

6.81
#8A9B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B30
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B30#FFFFFF#000000##000000
##8A9B301.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59320
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#929286
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b30;
/* rgb */ color: rgb(138, 155, 48);
/* oklch */ color: oklch(65.5% 0.131 118.0);
Tailwind
colors: {
  custom: {
    50: '#afb86f',
    500: '#8a9b30',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b30;
$custom-light: #afb86f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b30",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 48
  },
  "hsl": {
    "h": 69.533,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65523,
    "c": 0.13133,
    "h": 118
  },
  "luminance": 0.29059
}

Semantic roles & 50–950 ramp

primary
#8A9B30
secondary
#786CBB
accent
#4CDC63
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9B30

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

Preview Lab → · Contrast checker → · Palette generator →

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