#8A9B1B#8A9B1B

#8A9B1B is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.4% C 0.143 H 117.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8A9B1B
RGBrgb(138, 155, 27)
HSLhsl(68, 70%, 36%)
HSVhsv(68, 83%, 61%)
CMYKcmyk(11%, 0%, 82.6%, 39.2%)
CIE-LABlab(60.72, -21.82, 58.61)
CIE-LCHlch(60.72, 62.54, 110.42°)
OKLaboklab(65.39% -0.0662 0.1272)
OKLCHoklch(65.39% 0.143 117.5)
XYZxyz(22.4010, 28.9254, 5.4398)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B1B #2C1B9B
analogous
#9B6C1B #8A9B1B #4A9B1B
triadic
#8A9B1B #1B8A9B #9B1B8A
tetradic
#8A9B1B #1B9B6C #2C1B9B #9B1B4A
square
#8A9B1B #1B9B6C #2C1B9B #9B1B4A
split-complementary
#8A9B1B #1B4A9B #6C1B9B
monochromatic
#2D3309 #5C6712 #8A9B1B #B8CF24 #CDE050

Accessibility & contrast

On white

3.10
#8A9B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#8A9B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B1B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B1B#FFFFFF#000000##000000
##8A9B1B1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#939284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9b1b;
/* rgb */ color: rgb(138, 155, 27);
/* oklch */ color: oklch(65.4% 0.143 117.5);
Tailwind
colors: {
  custom: {
    50: '#b0b865',
    500: '#8a9b1b',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b1b;
$custom-light: #b0b865;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b1b",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 27
  },
  "hsl": {
    "h": 67.969,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6539,
    "c": 0.14342,
    "h": 117.5
  },
  "luminance": 0.28925
}

Semantic roles & 50–950 ramp

primary
#8A9B1B
secondary
#5E4FC3
accent
#3BED52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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