#8A8D14#8A8D14

#8A8D14 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.1% C 0.131 H 111.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A8D14
RGBrgb(138, 141, 20)
HSLhsl(61, 75%, 32%)
HSVhsv(61, 86%, 55%)
CMYKcmyk(2.1%, 0%, 85.8%, 44.7%)
CIE-LABlab(56.59, -14.83, 56.88)
CIE-LCHlch(56.59, 58.78, 104.61°)
OKLaboklab(62.07% -0.0475 0.1223)
OKLCHoklch(62.07% 0.131 111.2)
XYZxyz(20.1331, 24.5041, 4.3309)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D14 #17148D
analogous
#8D5414 #8A8D14 #4E8D14
triadic
#8A8D14 #148A8D #8D148A
tetradic
#8A8D14 #148D54 #17148D #8D144E
square
#8A8D14 #148D54 #17148D #8D144E
split-complementary
#8A8D14 #144E8D #54148D
monochromatic
#212205 #56570C #8A8D14 #BEC31C #DFE339

Accessibility & contrast

On white

3.56
#8A8D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8A8D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D14
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D14#FFFFFF#000000##000000
##8A8D141.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9A8921
Tritanopia (blue-blind)
#948478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d14;
/* rgb */ color: rgb(138, 141, 20);
/* oklch */ color: oklch(62.1% 0.131 111.2);
Tailwind
colors: {
  custom: {
    50: '#b0ae60',
    500: '#8a8d14',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d14;
$custom-light: #b0ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d14",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 61.488,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.13115,
    "h": 111.2
  },
  "luminance": 0.24504
}

Semantic roles & 50–950 ramp

primary
#8A8D14
secondary
#3F3CC1
accent
#36F23B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8A8D14

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

Preview Lab → · Contrast checker → · Palette generator →

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