#8A9E1C#8A9E1C

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

Color values

HEX#8A9E1C
RGBrgb(138, 158, 28)
HSLhsl(69, 70%, 36%)
HSVhsv(69, 82%, 62%)
CMYKcmyk(12.7%, 0%, 82.3%, 38%)
CIE-LABlab(61.60, -23.29, 59.11)
CIE-LCHlch(61.60, 63.53, 111.50°)
OKLaboklab(66.11% -0.0702 0.1285)
OKLCHoklch(66.11% 0.146 118.7)
XYZxyz(22.9182, 29.9410, 5.6702)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E1C #301C9E
analogous
#9E711C #8A9E1C #499E1C
triadic
#8A9E1C #1C8A9E #9E1C8A
tetradic
#8A9E1C #1C9E71 #301C9E #9E1C49
square
#8A9E1C #1C9E71 #301C9E #9E1C49
split-complementary
#8A9E1C #1C499E #711C9E
monochromatic
#2F360A #5D6A13 #8A9E1C #B7D225 #CBE154

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9E1C#FFFFFF#000000##000000
##8A9E1C1.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)
#A7952A
Tritanopia (blue-blind)
#939587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e1c;
/* rgb */ color: rgb(138, 158, 28);
/* oklch */ color: oklch(66.1% 0.146 118.7);
Tailwind
colors: {
  custom: {
    50: '#b0ba66',
    500: '#8a9e1c',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e1c;
$custom-light: #b0ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e1c",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 69.231,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66106,
    "c": 0.14639,
    "h": 118.7
  },
  "luminance": 0.29941
}

Semantic roles & 50–950 ramp

primary
#8A9E1C
secondary
#6452C4
accent
#3BED56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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