#8A9018#8A9018

#8A9018 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.8% C 0.133 H 112.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A9018
RGBrgb(138, 144, 24)
HSLhsl(63, 71%, 33%)
HSVhsv(63, 83%, 56%)
CMYKcmyk(4.2%, 0%, 83.3%, 43.5%)
CIE-LABlab(57.48, -16.28, 56.61)
CIE-LCHlch(57.48, 58.91, 106.04°)
OKLaboklab(62.79% -0.0512 0.1224)
OKLCHoklch(62.79% 0.133 112.7)
XYZxyz(20.6201, 25.4162, 4.6836)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9018 #1E1890
analogous
#905A18 #8A9018 #4E9018
triadic
#8A9018 #188A90 #90188A
tetradic
#8A9018 #18905A #1E1890 #90184E
square
#8A9018 #18905A #1E1890 #90184E
split-complementary
#8A9018 #184E90 #5A1890
monochromatic
#252707 #585C0F #8A9018 #BCC421 #D8E043

Accessibility & contrast

On white

3.45
#8A9018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8A9018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9018
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9018#FFFFFF#000000##000000
##8A90181.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9C8B24
Tritanopia (blue-blind)
#94877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9018;
/* rgb */ color: rgb(138, 144, 24);
/* oklch */ color: oklch(62.8% 0.133 112.7);
Tailwind
colors: {
  custom: {
    50: '#b0b062',
    500: '#8a9018',
    950: '#000000',
  },
}
SCSS
$custom: #8a9018;
$custom-light: #b0b062;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9018",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 63,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62787,
    "c": 0.13266,
    "h": 112.7
  },
  "luminance": 0.25416
}

Semantic roles & 50–950 ramp

primary
#8A9018
secondary
#4A43C0
accent
#3AEE43
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9018

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

Preview Lab → · Contrast checker → · Palette generator →

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