#ABB317#ABB317

#ABB317 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#ABB317
RGBrgb(171, 179, 23)
HSLhsl(63, 77%, 40%)
HSVhsv(63, 87%, 70%)
CMYKcmyk(4.5%, 0%, 87.2%, 29.8%)
CIE-LABlab(70.15, -19.66, 68.51)
CIE-LCHlch(70.15, 71.27, 106.01°)
OKLaboklab(73.59% -0.0622 0.1466)
OKLCHoklch(73.59% 0.159 113)
XYZxyz(33.0705, 40.9608, 6.9746)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB317 #1F17B3
analogous
#B36D17 #ABB317 #5DB317
triadic
#ABB317 #17ABB3 #B317AB
tetradic
#ABB317 #17B36D #1F17B3 #B3175D
square
#ABB317 #17B36D #1F17B3 #B3175D
split-complementary
#ABB317 #175DB3 #6D17B3
monochromatic
#434709 #777D10 #ABB317 #D9E324 #E3EA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB317#FFFFFF#000000##000000
##ABB3171.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)
#B7A798
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb317;
/* rgb */ color: rgb(171, 179, 23);
/* oklch */ color: oklch(73.6% 0.159 113.0);
Tailwind
colors: {
  custom: {
    50: '#c8c968',
    500: '#abb317',
    950: '#000000',
  },
}
SCSS
$custom: #abb317;
$custom-light: #c8c968;
$custom-dark: #000000;
JSON
{
  "hex": "#abb317",
  "rgb": {
    "r": 171,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 63.077,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.73594,
    "c": 0.15923,
    "h": 113
  },
  "luminance": 0.4096
}

Semantic roles & 50–950 ramp

primary
#ABB317
secondary
#5E58CD
accent
#34F43E
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ABB317

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

Preview Lab → · Contrast checker → · Palette generator →

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