#8A8E15#8A8E15

#8A8E15 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.132 H 111.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A8E15
RGBrgb(138, 142, 21)
HSLhsl(62, 74%, 32%)
HSVhsv(62, 85%, 56%)
CMYKcmyk(2.8%, 0%, 85.2%, 44.3%)
CIE-LABlab(56.88, -15.33, 56.88)
CIE-LCHlch(56.88, 58.91, 105.08°)
OKLaboklab(62.31% -0.0488 0.1224)
OKLCHoklch(62.31% 0.132 111.7)
XYZxyz(20.2903, 24.8040, 4.4281)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E15 #19158E
analogous
#8E5515 #8A8E15 #4E8E15
triadic
#8A8E15 #158A8E #8E158A
tetradic
#8A8E15 #158E55 #19158E #8E154E
square
#8A8E15 #158E55 #19158E #8E154E
split-complementary
#8A8E15 #154E8E #55158E
monochromatic
#222305 #56590D #8A8E15 #BEC31D #DDE23B

Accessibility & contrast

On white

3.52
#8A8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8A8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E15
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E15#FFFFFF#000000##000000
##8A8E151.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9A8A22
Tritanopia (blue-blind)
#948579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8e15;
/* rgb */ color: rgb(138, 142, 21);
/* oklch */ color: oklch(62.3% 0.132 111.7);
Tailwind
colors: {
  custom: {
    50: '#b0ae61',
    500: '#8a8e15',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e15;
$custom-light: #b0ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e15",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 61.983,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.62307,
    "c": 0.13179,
    "h": 111.7
  },
  "luminance": 0.24803
}

Semantic roles & 50–950 ramp

primary
#8A8E15
secondary
#423DC2
accent
#37F13D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8A8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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