#A0B418#A0B418

#A0B418 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 72.9% C 0.164 H 117.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A0B418
RGBrgb(160, 180, 24)
HSLhsl(68, 76%, 40%)
HSVhsv(68, 87%, 71%)
CMYKcmyk(11.1%, 0%, 86.7%, 29.4%)
CIE-LABlab(69.60, -24.85, 67.51)
CIE-LCHlch(69.60, 71.94, 110.21°)
OKLaboklab(72.95% -0.0758 0.1451)
OKLCHoklch(72.95% 0.164 117.6)
XYZxyz(30.9842, 40.1824, 6.9877)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B418 #2C18B4
analogous
#B47A18 #A0B418 #52B418
triadic
#A0B418 #18A0B4 #B418A0
tetradic
#A0B418 #18B47A #2C18B4 #B41852
square
#A0B418 #18B47A #2C18B4 #B41852
split-complementary
#A0B418 #1852B4 #7A18B4
monochromatic
#40480A #707E11 #A0B418 #CAE227 #D7E95D

Accessibility & contrast

On white

2.32
#A0B418 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A0B418 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B418
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B418#FFFFFF#000000##000000
##A0B4181.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB2B
Tritanopia (blue-blind)
#ABA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a0b418;
/* rgb */ color: rgb(160, 180, 24);
/* oklch */ color: oklch(72.9% 0.164 117.6);
Tailwind
colors: {
  custom: {
    50: '#c0ca68',
    500: '#a0b418',
    950: '#000000',
  },
}
SCSS
$custom: #a0b418;
$custom-light: #c0ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b418",
  "rgb": {
    "r": 160,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 67.692,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.72946,
    "c": 0.16369,
    "h": 117.6
  },
  "luminance": 0.40182
}

Semantic roles & 50–950 ramp

primary
#A0B418
secondary
#695BCD
accent
#35F34D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B418

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

Preview Lab → · Contrast checker → · Palette generator →

#A0B418 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva