#ACB227#ACB227

#ACB227 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.152 H 112.2°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#ACB227
RGBrgb(172, 178, 39)
HSLhsl(63, 64%, 43%)
HSVhsv(63, 78%, 70%)
CMYKcmyk(3.4%, 0%, 78.1%, 30.2%)
CIE-LABlab(70.01, -18.23, 64.41)
CIE-LCHlch(70.01, 66.94, 105.80°)
OKLaboklab(73.52% -0.0572 0.1404)
OKLCHoklch(73.52% 0.152 112.2)
XYZxyz(33.3010, 40.7588, 8.0321)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB227 #2D27B2
analogous
#B27327 #ACB227 #66B227
triadic
#ACB227 #27ACB2 #B227AC
tetradic
#ACB227 #27B273 #2D27B2 #B22766
square
#ACB227 #27B273 #2D27B2 #B22766
split-complementary
#ACB227 #2766B2 #7327B2
monochromatic
#4B4E11 #7B801C #ACB227 #CFD541 #DCE073

Accessibility & contrast

On white

2.29
#ACB227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#ACB227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB227
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB227#FFFFFF#000000##000000
##ACB2271.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C0AD34
Tritanopia (blue-blind)
#B8A798
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #acb227;
/* rgb */ color: rgb(172, 178, 39);
/* oklch */ color: oklch(73.5% 0.152 112.2);
Tailwind
colors: {
  custom: {
    50: '#c8c86e',
    500: '#acb227',
    950: '#000000',
  },
}
SCSS
$custom: #acb227;
$custom-light: #c8c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#acb227",
  "rgb": {
    "r": 172,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 62.59,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73519,
    "c": 0.15164,
    "h": 112.2
  },
  "luminance": 0.40758
}

Semantic roles & 50–950 ramp

primary
#ACB227
secondary
#716DC8
accent
#41E748
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB227

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

Preview Lab → · Contrast checker → · Palette generator →

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