#ABA852#ABA852

#ABA852 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.6% C 0.109 H 107.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#ABA852
RGBrgb(171, 168, 82)
HSLhsl(58, 35%, 50%)
HSVhsv(58, 52%, 67%)
CMYKcmyk(0%, 1.8%, 52%, 32.9%)
CIE-LABlab(67.48, -10.84, 44.27)
CIE-LCHlch(67.48, 45.58, 103.76°)
OKLaboklab(71.59% -0.0319 0.1042)
OKLCHoklch(71.59% 0.109 107)
XYZxyz(32.3210, 37.2733, 13.4729)
Luminance0.3727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA852 #5255AB
analogous
#AB7C52 #ABA852 #81AB52
triadic
#ABA852 #52ABA8 #A852AB
tetradic
#ABA852 #52AB7C #5255AB #AB5281
square
#ABA852 #52AB7C #5255AB #AB5281
split-complementary
#ABA852 #5281AB #7C52AB
monochromatic
#58572A #827F3E #ABA852 #C0BD7B #D3D2A4

Accessibility & contrast

On white

2.48
#ABA852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#ABA852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA852
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA852#FFFFFF#000000##000000
##ABA8521.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24A
Deuteranopia (green-blind)
#B6A656
Tritanopia (blue-blind)
#B69F94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba852;
/* rgb */ color: rgb(171, 168, 82);
/* oklch */ color: oklch(71.6% 0.109 107.0);
Tailwind
colors: {
  custom: {
    50: '#c6c185',
    500: '#aba852',
    950: '#000000',
  },
}
SCSS
$custom: #aba852;
$custom-light: #c6c185;
$custom-dark: #000000;
JSON
{
  "hex": "#aba852",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 82
  },
  "hsl": {
    "h": 57.978,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71591,
    "c": 0.10895,
    "h": 107
  },
  "luminance": 0.37272
}

Semantic roles & 50–950 ramp

primary
#ABA852
secondary
#9899C1
accent
#60CB5D
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA852

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

Preview Lab → · Contrast checker → · Palette generator →

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