#ABA23D#ABA23D

#ABA23D is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.122 H 104.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#ABA23D
RGBrgb(171, 162, 61)
HSLhsl(55, 47%, 45%)
HSVhsv(55, 64%, 67%)
CMYKcmyk(0%, 5.3%, 64.3%, 32.9%)
CIE-LABlab(65.62, -9.28, 51.93)
CIE-LCHlch(65.62, 52.76, 100.14°)
OKLaboklab(70.04% -0.0299 0.1179)
OKLCHoklch(70.04% 0.122 104.2)
XYZxyz(30.5584, 34.8366, 9.5284)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA23D #3D46AB
analogous
#AB6B3D #ABA23D #7DAB3D
triadic
#ABA23D #3DABA2 #A23DAB
tetradic
#ABA23D #3DAB6B #3D46AB #AB3D7D
square
#ABA23D #3DAB6B #3D46AB #AB3D7D
split-complementary
#ABA23D #3D7DAB #6B3DAB
monochromatic
#514D1D #7E772D #ABA23D #C6BE5F #D6D08C

Accessibility & contrast

On white

2.64
#ABA23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#ABA23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA23D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA23D#FFFFFF#000000##000000
##ABA23D1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D30
Deuteranopia (green-blind)
#B3A243
Tritanopia (blue-blind)
#B7978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba23d;
/* rgb */ color: rgb(171, 162, 61);
/* oklch */ color: oklch(70.0% 0.122 104.2);
Tailwind
colors: {
  custom: {
    50: '#c7bd77',
    500: '#aba23d',
    950: '#000000',
  },
}
SCSS
$custom: #aba23d;
$custom-light: #c7bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#aba23d",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 55.091,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70044,
    "c": 0.12163,
    "h": 104.2
  },
  "luminance": 0.34836
}

Semantic roles & 50–950 ramp

primary
#ABA23D
secondary
#8388C1
accent
#5CD751
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA23D

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

Preview Lab → · Contrast checker → · Palette generator →

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