#ACB318#ACB318

#ACB318 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.22:1 contrast (WCAG AA passes).

Color values

HEX#ACB318
RGBrgb(172, 179, 24)
HSLhsl(63, 76%, 40%)
HSVhsv(63, 87%, 70%)
CMYKcmyk(3.9%, 0%, 86.6%, 29.8%)
CIE-LABlab(70.23, -19.20, 68.41)
CIE-LCHlch(70.23, 71.05, 105.68°)
OKLaboklab(73.68% -0.0609 0.1465)
OKLCHoklch(73.68% 0.159 112.6)
XYZxyz(33.2994, 41.0776, 7.0386)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB318 #1F18B3
analogous
#B36D18 #ACB318 #5EB318
triadic
#ACB318 #18ACB3 #B318AC
tetradic
#ACB318 #18B36D #1F18B3 #B3185E
square
#ACB318 #18B36D #1F18B3 #B3185E
split-complementary
#ACB318 #185EB3 #6D18B3
monochromatic
#44470A #787D11 #ACB318 #D9E226 #E3E95C

Accessibility & contrast

On white

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

On black

9.22
#ACB318 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB318
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB318#FFFFFF#000000##000000
##ACB3181.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acb318;
/* rgb */ color: rgb(172, 179, 24);
/* oklch */ color: oklch(73.7% 0.159 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9c968',
    500: '#acb318',
    950: '#000000',
  },
}
SCSS
$custom: #acb318;
$custom-light: #c9c968;
$custom-dark: #000000;
JSON
{
  "hex": "#acb318",
  "rgb": {
    "r": 172,
    "g": 179,
    "b": 24
  },
  "hsl": {
    "h": 62.71,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.7368,
    "c": 0.15863,
    "h": 112.6
  },
  "luminance": 0.41077
}

Semantic roles & 50–950 ramp

primary
#ACB318
secondary
#5F5ACD
accent
#35F33D
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ACB318

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

Preview Lab → · Contrast checker → · Palette generator →

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