#8A8E14#8A8E14

#8A8E14 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#8A8E14
RGBrgb(138, 142, 20)
HSLhsl(62, 75%, 32%)
HSVhsv(62, 86%, 56%)
CMYKcmyk(2.8%, 0%, 85.9%, 44.3%)
CIE-LABlab(56.88, -15.36, 57.13)
CIE-LCHlch(56.88, 59.15, 105.05°)
OKLaboklab(62.3% -0.0489 0.1228)
OKLCHoklch(62.3% 0.132 111.7)
XYZxyz(20.2812, 24.8003, 4.3803)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E14 #18148E
analogous
#8E5514 #8A8E14 #4D8E14
triadic
#8A8E14 #148A8E #8E148A
tetradic
#8A8E14 #148E55 #18148E #8E144D
square
#8A8E14 #148E55 #18148E #8E144D
split-complementary
#8A8E14 #144D8E #55148E
monochromatic
#222305 #56580C #8A8E14 #BEC41C #DEE339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8E14#FFFFFF#000000##000000
##8A8E141.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)
#9A8A21
Tritanopia (blue-blind)
#948579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8e14;
/* rgb */ color: rgb(138, 142, 20);
/* oklch */ color: oklch(62.3% 0.132 111.7);
Tailwind
colors: {
  custom: {
    50: '#b0ae60',
    500: '#8a8e14',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e14;
$custom-light: #b0ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e14",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 61.967,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.62303,
    "c": 0.13217,
    "h": 111.7
  },
  "luminance": 0.248
}

Semantic roles & 50–950 ramp

primary
#8A8E14
secondary
#403CC2
accent
#36F23C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8A8E14

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

Preview Lab → · Contrast checker → · Palette generator →

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