#ACA338#ACA338

#ACA338 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.126 H 104.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#ACA338
RGBrgb(172, 163, 56)
HSLhsl(55, 51%, 45%)
HSVhsv(55, 67%, 67%)
CMYKcmyk(0%, 5.2%, 67.4%, 32.5%)
CIE-LABlab(65.94, -9.68, 54.42)
CIE-LCHlch(65.94, 55.27, 100.09°)
OKLaboklab(70.31% -0.0316 0.1223)
OKLCHoklch(70.31% 0.126 104.5)
XYZxyz(30.8255, 35.2517, 8.9211)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA338 #3841AC
analogous
#AC6938 #ACA338 #7BAC38
triadic
#ACA338 #38ACA3 #A338AC
tetradic
#ACA338 #38AC69 #3841AC #AC387B
square
#ACA338 #38AC69 #3841AC #AC387B
split-complementary
#ACA338 #387BAC #6938AC
monochromatic
#504B1A #7E7729 #ACA338 #C9C058 #D8D287

Accessibility & contrast

On white

2.61
#ACA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#ACA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA338
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA338#FFFFFF#000000##000000
##ACA3381.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B4A23F
Tritanopia (blue-blind)
#B9988D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aca338;
/* rgb */ color: rgb(172, 163, 56);
/* oklch */ color: oklch(70.3% 0.126 104.5);
Tailwind
colors: {
  custom: {
    50: '#c8be75',
    500: '#aca338',
    950: '#000000',
  },
}
SCSS
$custom: #aca338;
$custom-light: #c8be75;
$custom-dark: #000000;
JSON
{
  "hex": "#aca338",
  "rgb": {
    "r": 172,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 55.345,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70309,
    "c": 0.12634,
    "h": 104.5
  },
  "luminance": 0.35251
}

Semantic roles & 50–950 ramp

primary
#ACA338
secondary
#7E83C2
accent
#58DA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ACA338

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

Preview Lab → · Contrast checker → · Palette generator →

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