#ABB318#ABB318

#ABB318 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.6% C 0.159 H 113.0°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#ABB318
RGBrgb(171, 179, 24)
HSLhsl(63, 76%, 40%)
HSVhsv(63, 87%, 70%)
CMYKcmyk(4.5%, 0%, 86.6%, 29.8%)
CIE-LABlab(70.15, -19.63, 68.31)
CIE-LCHlch(70.15, 71.07, 106.04°)
OKLaboklab(73.6% -0.062 0.1463)
OKLCHoklch(73.6% 0.159 113)
XYZxyz(33.0807, 40.9649, 7.0284)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB318 #2018B3
analogous
#B36E18 #ABB318 #5DB318
triadic
#ABB318 #18ABB3 #B318AB
tetradic
#ABB318 #18B36E #2018B3 #B3185D
square
#ABB318 #18B36E #2018B3 #B3185D
split-complementary
#ABB318 #185DB3 #6E18B3
monochromatic
#44470A #777D11 #ABB318 #D8E226 #E2E95C

Accessibility & contrast

On white

2.28
#ABB318 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#ABB318 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB318
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB318#FFFFFF#000000##000000
##ABB3181.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AD2A
Tritanopia (blue-blind)
#B7A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb318;
/* rgb */ color: rgb(171, 179, 24);
/* oklch */ color: oklch(73.6% 0.159 113.0);
Tailwind
colors: {
  custom: {
    50: '#c8c968',
    500: '#abb318',
    950: '#000000',
  },
}
SCSS
$custom: #abb318;
$custom-light: #c8c968;
$custom-dark: #000000;
JSON
{
  "hex": "#abb318",
  "rgb": {
    "r": 171,
    "g": 179,
    "b": 24
  },
  "hsl": {
    "h": 63.097,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.73598,
    "c": 0.15893,
    "h": 113
  },
  "luminance": 0.40964
}

Semantic roles & 50–950 ramp

primary
#ABB318
secondary
#605ACD
accent
#35F33F
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ABB318

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

Preview Lab → · Contrast checker → · Palette generator →

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