#ACA240#ACA240

#ACA240 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.119 H 103.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#ACA240
RGBrgb(172, 162, 64)
HSLhsl(54, 46%, 46%)
HSVhsv(54, 63%, 67%)
CMYKcmyk(0%, 5.8%, 62.8%, 32.5%)
CIE-LABlab(65.74, -8.65, 50.76)
CIE-LCHlch(65.74, 51.49, 99.67°)
OKLaboklab(70.16% -0.0278 0.1158)
OKLCHoklch(70.16% 0.119 103.5)
XYZxyz(30.8601, 34.9826, 9.9763)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA240 #404AAC
analogous
#AC6C40 #ACA240 #80AC40
triadic
#ACA240 #40ACA2 #A240AC
tetradic
#ACA240 #40AC6C #404AAC #AC4080
square
#ACA240 #40AC6C #404AAC #AC4080
split-complementary
#ACA240 #4080AC #6C40AC
monochromatic
#534E1F #7F782F #ACA240 #C5BC64 #D6CF91

Accessibility & contrast

On white

2.63
#ACA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#ACA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA240
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA240#FFFFFF#000000##000000
##ACA2401.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D34
Deuteranopia (green-blind)
#B3A245
Tritanopia (blue-blind)
#B8978D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aca240;
/* rgb */ color: rgb(172, 162, 64);
/* oklch */ color: oklch(70.2% 0.119 103.5);
Tailwind
colors: {
  custom: {
    50: '#c7bd79',
    500: '#aca240',
    950: '#000000',
  },
}
SCSS
$custom: #aca240;
$custom-light: #c7bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#aca240",
  "rgb": {
    "r": 172,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 54.444,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70164,
    "c": 0.11913,
    "h": 103.5
  },
  "luminance": 0.34981
}

Semantic roles & 50–950 ramp

primary
#ACA240
secondary
#878CC1
accent
#5FD552
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ACA240

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

Preview Lab → · Contrast checker → · Palette generator →

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