#AAC231#AAC231

#AAC231 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.0% C 0.164 H 118.8°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#AAC231
RGBrgb(170, 194, 49)
HSLhsl(70, 60%, 48%)
HSVhsv(70, 75%, 76%)
CMYKcmyk(12.4%, 0%, 74.7%, 23.9%)
CIE-LABlab(74.41, -26.54, 65.27)
CIE-LCHlch(74.41, 70.46, 112.12°)
OKLaboklab(77.04% -0.0792 0.1441)
OKLCHoklch(77.04% 0.164 118.8)
XYZxyz(36.4245, 47.3516, 10.1261)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC231 #4931C2
analogous
#C29131 #AAC231 #61C231
triadic
#AAC231 #31AAC2 #C231AA
tetradic
#AAC231 #31C291 #4931C2 #C23161
square
#AAC231 #31C291 #4931C2 #C23161
split-complementary
#AAC231 #3161C2 #9131C2
monochromatic
#546018 #7F9125 #AAC231 #C1D65B #D4E28C

Accessibility & contrast

On white

2.01
#AAC231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#AAC231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC231
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC231#FFFFFF#000000##000000
##AAC2311.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70F
Deuteranopia (green-blind)
#CCB83E
Tritanopia (blue-blind)
#B4B7A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #aac231;
/* rgb */ color: rgb(170, 194, 49);
/* oklch */ color: oklch(77.0% 0.164 118.8);
Tailwind
colors: {
  custom: {
    50: '#c7d474',
    500: '#aac231',
    950: '#000000',
  },
}
SCSS
$custom: #aac231;
$custom-light: #c7d474;
$custom-dark: #000000;
JSON
{
  "hex": "#aac231",
  "rgb": {
    "r": 170,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 69.931,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77037,
    "c": 0.16444,
    "h": 118.8
  },
  "luminance": 0.47351
}

Semantic roles & 50–950 ramp

primary
#AAC231
secondary
#8F83CC
accent
#45E35F
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #AAC231

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

Preview Lab → · Contrast checker → · Palette generator →

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