#ACB252#ACB252

#ACB252 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.120 H 112.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#ACB252
RGBrgb(172, 178, 82)
HSLhsl(64, 38%, 51%)
HSVhsv(64, 54%, 70%)
CMYKcmyk(3.4%, 0%, 53.9%, 30.2%)
CIE-LABlab(70.33, -15.59, 47.61)
CIE-LCHlch(70.33, 50.10, 108.14°)
OKLaboklab(73.88% -0.0455 0.1114)
OKLCHoklch(73.88% 0.12 112.2)
XYZxyz(34.4574, 41.2213, 14.1224)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB252 #5852B2
analogous
#B28852 #ACB252 #7CB252
triadic
#ACB252 #52ACB2 #B252AC
tetradic
#ACB252 #52B288 #5852B2 #B2527C
square
#ACB252 #52B288 #5852B2 #B2527C
split-complementary
#ACB252 #527CB2 #8852B2
monochromatic
#5C5F2A #858A3D #ACB252 #C0C57C #D5D8A7

Accessibility & contrast

On white

2.27
#ACB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#ACB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB252
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB252#FFFFFF#000000##000000
##ACB2521.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB49
Deuteranopia (green-blind)
#BEAD57
Tritanopia (blue-blind)
#B6A99D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #acb252;
/* rgb */ color: rgb(172, 178, 82);
/* oklch */ color: oklch(73.9% 0.120 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c886',
    500: '#acb252',
    950: '#000000',
  },
}
SCSS
$custom: #acb252;
$custom-light: #c7c886;
$custom-dark: #000000;
JSON
{
  "hex": "#acb252",
  "rgb": {
    "r": 172,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 63.75,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73882,
    "c": 0.12031,
    "h": 112.2
  },
  "luminance": 0.41221
}

Semantic roles & 50–950 ramp

primary
#ACB252
secondary
#9D9BC5
accent
#59CE61
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ACB252

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

Preview Lab → · Contrast checker → · Palette generator →

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