#ACA22F#ACA22F

#ACA22F is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.132 H 104.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#ACA22F
RGBrgb(172, 162, 47)
HSLhsl(55, 57%, 43%)
HSVhsv(55, 73%, 67%)
CMYKcmyk(0%, 5.8%, 72.7%, 32.5%)
CIE-LABlab(65.61, -9.63, 57.62)
CIE-LCHlch(65.61, 58.42, 99.49°)
OKLaboklab(70.02% -0.0324 0.1275)
OKLCHoklch(70.02% 0.132 104.3)
XYZxyz(30.4480, 34.8178, 7.8054)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA22F #2F39AC
analogous
#AC632F #ACA22F #77AC2F
triadic
#ACA22F #2FACA2 #A22FAC
tetradic
#ACA22F #2FAC63 #2F39AC #AC2F77
square
#ACA22F #2FAC63 #2F39AC #AC2F77
split-complementary
#ACA22F #2F77AC #632FAC
monochromatic
#4C4715 #7C7522 #ACA22F #CEC34B #DBD37B

Accessibility & contrast

On white

2.64
#ACA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#ACA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA22F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA22F#FFFFFF#000000##000000
##ACA22F1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C1B
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#B9978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aca22f;
/* rgb */ color: rgb(172, 162, 47);
/* oklch */ color: oklch(70.0% 0.132 104.3);
Tailwind
colors: {
  custom: {
    50: '#c8bd70',
    500: '#aca22f',
    950: '#000000',
  },
}
SCSS
$custom: #aca22f;
$custom-light: #c8bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#aca22f",
  "rgb": {
    "r": 172,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 55.2,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7002,
    "c": 0.13155,
    "h": 104.3
  },
  "luminance": 0.34817
}

Semantic roles & 50–950 ramp

primary
#ACA22F
secondary
#747AC3
accent
#54E047
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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