#8A8D19#8A8D19

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

Color values

HEX#8A8D19
RGBrgb(138, 141, 25)
HSLhsl(62, 70%, 33%)
HSVhsv(62, 82%, 55%)
CMYKcmyk(2.1%, 0%, 82.3%, 44.7%)
CIE-LABlab(56.61, -14.67, 55.58)
CIE-LCHlch(56.61, 57.49, 104.79°)
OKLaboklab(62.09% -0.0467 0.1203)
OKLCHoklch(62.09% 0.129 111.2)
XYZxyz(20.1823, 24.5238, 4.5899)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D19 #1C198D
analogous
#8D5619 #8A8D19 #508D19
triadic
#8A8D19 #198A8D #8D198A
tetradic
#8A8D19 #198D56 #1C198D #8D1950
square
#8A8D19 #198D56 #1C198D #8D1950
split-complementary
#8A8D19 #19508D #56198D
monochromatic
#242507 #575910 #8A8D19 #BDC122 #DADE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8D19#FFFFFF#000000##000000
##8A8D191.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)
#998924
Tritanopia (blue-blind)
#948478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d19;
/* rgb */ color: rgb(138, 141, 25);
/* oklch */ color: oklch(62.1% 0.129 111.2);
Tailwind
colors: {
  custom: {
    50: '#b0ae62',
    500: '#8a8d19',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d19;
$custom-light: #b0ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d19",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 61.552,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62091,
    "c": 0.12908,
    "h": 111.2
  },
  "luminance": 0.24523
}

Semantic roles & 50–950 ramp

primary
#8A8D19
secondary
#4643BF
accent
#3BED40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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