#8A8E19#8A8E19

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

Color values

HEX#8A8E19
RGBrgb(138, 142, 25)
HSLhsl(62, 70%, 33%)
HSVhsv(62, 82%, 56%)
CMYKcmyk(2.8%, 0%, 82.4%, 44.3%)
CIE-LABlab(56.90, -15.20, 55.83)
CIE-LCHlch(56.90, 57.87, 105.23°)
OKLaboklab(62.32% -0.0481 0.1209)
OKLCHoklch(62.32% 0.13 111.7)
XYZxyz(20.3304, 24.8200, 4.6393)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E19 #1D198E
analogous
#8E5719 #8A8E19 #508E19
triadic
#8A8E19 #198A8E #8E198A
tetradic
#8A8E19 #198E57 #1D198E #8E1950
square
#8A8E19 #198E57 #1D198E #8E1950
split-complementary
#8A8E19 #19508E #57198E
monochromatic
#252607 #575A10 #8A8E19 #BDC222 #D9DE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8E19#FFFFFF#000000##000000
##8A8E191.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)
#9A8A24
Tritanopia (blue-blind)
#948579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e19;
/* rgb */ color: rgb(138, 142, 25);
/* oklch */ color: oklch(62.3% 0.130 111.7);
Tailwind
colors: {
  custom: {
    50: '#b0ae62',
    500: '#8a8e19',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e19;
$custom-light: #b0ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e19",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 62.051,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62324,
    "c": 0.13013,
    "h": 111.7
  },
  "luminance": 0.24819
}

Semantic roles & 50–950 ramp

primary
#8A8E19
secondary
#4844BF
accent
#3BED41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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