#ABA03D#ABA03D

#ABA03D is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.6% C 0.120 H 103.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#ABA03D
RGBrgb(171, 160, 61)
HSLhsl(54, 47%, 45%)
HSVhsv(54, 64%, 67%)
CMYKcmyk(0%, 6.4%, 64.3%, 32.9%)
CIE-LABlab(65.07, -8.23, 51.35)
CIE-LCHlch(65.07, 52.00, 99.10°)
OKLaboklab(69.61% -0.0269 0.1167)
OKLCHoklch(69.61% 0.12 103)
XYZxyz(30.2089, 34.1376, 9.4119)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA03D #3D48AB
analogous
#AB693D #ABA03D #7FAB3D
triadic
#ABA03D #3DABA0 #A03DAB
tetradic
#ABA03D #3DAB69 #3D48AB #AB3D7F
square
#ABA03D #3DAB69 #3D48AB #AB3D7F
split-complementary
#ABA03D #3D7FAB #693DAB
monochromatic
#514C1D #7E762D #ABA03D #C6BC5F #D6CF8C

Accessibility & contrast

On white

2.68
#ABA03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#ABA03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA03D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA03D#FFFFFF#000000##000000
##ABA03D1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B31
Deuteranopia (green-blind)
#B1A043
Tritanopia (blue-blind)
#B7958B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba03d;
/* rgb */ color: rgb(171, 160, 61);
/* oklch */ color: oklch(69.6% 0.120 103.0);
Tailwind
colors: {
  custom: {
    50: '#c7bb77',
    500: '#aba03d',
    950: '#000000',
  },
}
SCSS
$custom: #aba03d;
$custom-light: #c7bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#aba03d",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 61
  },
  "hsl": {
    "h": 54,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.11971,
    "h": 103
  },
  "luminance": 0.34136
}

Semantic roles & 50–950 ramp

primary
#ABA03D
secondary
#8389C1
accent
#5ED751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #ABA03D

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

Preview Lab → · Contrast checker → · Palette generator →

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