#ABA53D#ABA53D

#ABA53D is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.125 H 106.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#ABA53D
RGBrgb(171, 165, 61)
HSLhsl(57, 47%, 45%)
HSVhsv(57, 64%, 67%)
CMYKcmyk(0%, 3.5%, 64.3%, 32.9%)
CIE-LABlab(66.45, -10.86, 52.81)
CIE-LCHlch(66.45, 53.91, 101.62°)
OKLaboklab(70.7% -0.0344 0.1198)
OKLCHoklch(70.7% 0.125 106)
XYZxyz(31.0931, 35.9062, 9.7067)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA53D #3D43AB
analogous
#AB6E3D #ABA53D #7AAB3D
triadic
#ABA53D #3DABA5 #A53DAB
tetradic
#ABA53D #3DAB6E #3D43AB #AB3D7A
square
#ABA53D #3DAB6E #3D43AB #AB3D7A
split-complementary
#ABA53D #3D7AAB #6E3DAB
monochromatic
#514E1D #7E792D #ABA53D #C6C05F #D6D28C

Accessibility & contrast

On white

2.57
#ABA53D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#ABA53D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA53D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA53D#FFFFFF#000000##000000
##ABA53D1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F30
Deuteranopia (green-blind)
#B5A443
Tritanopia (blue-blind)
#B79A8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba53d;
/* rgb */ color: rgb(171, 165, 61);
/* oklch */ color: oklch(70.7% 0.125 106.0);
Tailwind
colors: {
  custom: {
    50: '#c7bf78',
    500: '#aba53d',
    950: '#000000',
  },
}
SCSS
$custom: #aba53d;
$custom-light: #c7bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#aba53d",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 61
  },
  "hsl": {
    "h": 56.727,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.12458,
    "h": 106
  },
  "luminance": 0.35905
}

Semantic roles & 50–950 ramp

primary
#ABA53D
secondary
#8386C1
accent
#58D751
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA53D

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

Preview Lab → · Contrast checker → · Palette generator →

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