#ACB317#ACB317

#ACB317 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.159 H 112.6°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#ACB317
RGBrgb(172, 179, 23)
HSLhsl(63, 77%, 40%)
HSVhsv(63, 87%, 70%)
CMYKcmyk(3.9%, 0%, 87.2%, 29.8%)
CIE-LABlab(70.23, -19.22, 68.61)
CIE-LCHlch(70.23, 71.25, 105.65°)
OKLaboklab(73.68% -0.061 0.1468)
OKLCHoklch(73.68% 0.159 112.6)
XYZxyz(33.2892, 41.0735, 6.9848)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB317 #1E17B3
analogous
#B36C17 #ACB317 #5EB317
triadic
#ACB317 #17ACB3 #B317AC
tetradic
#ACB317 #17B36C #1E17B3 #B3175E
square
#ACB317 #17B36C #1E17B3 #B3175E
split-complementary
#ACB317 #175EB3 #6C17B3
monochromatic
#444709 #787D10 #ACB317 #DAE324 #E3EA5B

Accessibility & contrast

On white

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

On black

9.21
#ACB317 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB317
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB317#FFFFFF#000000##000000
##ACB3171.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C2AD2A
Tritanopia (blue-blind)
#B8A798
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #acb317;
/* rgb */ color: rgb(172, 179, 23);
/* oklch */ color: oklch(73.7% 0.159 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9c968',
    500: '#acb317',
    950: '#000000',
  },
}
SCSS
$custom: #acb317;
$custom-light: #c9c968;
$custom-dark: #000000;
JSON
{
  "hex": "#acb317",
  "rgb": {
    "r": 172,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 62.692,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.73677,
    "c": 0.15895,
    "h": 112.6
  },
  "luminance": 0.41073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ACB317

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

Preview Lab → · Contrast checker → · Palette generator →

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