#8A9E1B#8A9E1B

#8A9E1B is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.1% C 0.147 H 118.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A9E1B
RGBrgb(138, 158, 27)
HSLhsl(69, 71%, 36%)
HSVhsv(69, 83%, 62%)
CMYKcmyk(12.7%, 0%, 82.9%, 38%)
CIE-LABlab(61.60, -23.32, 59.38)
CIE-LCHlch(61.60, 63.79, 111.45°)
OKLaboklab(66.1% -0.0704 0.1289)
OKLCHoklch(66.1% 0.147 118.6)
XYZxyz(22.9065, 29.9363, 5.6083)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E1B #2F1B9E
analogous
#9E711B #8A9E1B #499E1B
triadic
#8A9E1B #1B8A9E #9E1B8A
tetradic
#8A9E1B #1B9E71 #2F1B9E #9E1B49
square
#8A9E1B #1B9E71 #2F1B9E #9E1B49
split-complementary
#8A9E1B #1B499E #711B9E
monochromatic
#2F3509 #5C6A12 #8A9E1B #B8D224 #CCE152

Accessibility & contrast

On white

3.01
#8A9E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8A9E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9E1B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E1B#FFFFFF#000000##000000
##8A9E1B1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A79529
Tritanopia (blue-blind)
#939587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e1b;
/* rgb */ color: rgb(138, 158, 27);
/* oklch */ color: oklch(66.1% 0.147 118.6);
Tailwind
colors: {
  custom: {
    50: '#b0ba65',
    500: '#8a9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e1b;
$custom-light: #b0ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e1b",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 69.16,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66101,
    "c": 0.14682,
    "h": 118.6
  },
  "luminance": 0.29936
}

Semantic roles & 50–950 ramp

primary
#8A9E1B
secondary
#6251C4
accent
#3AEE56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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