#ABA23E#ABA23E

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

Color values

HEX#ABA23E
RGBrgb(171, 162, 62)
HSLhsl(55, 47%, 46%)
HSVhsv(55, 64%, 67%)
CMYKcmyk(0%, 5.3%, 63.7%, 32.9%)
CIE-LABlab(65.63, -9.22, 51.50)
CIE-LCHlch(65.63, 52.32, 100.15°)
OKLaboklab(70.05% -0.0296 0.1172)
OKLCHoklch(70.05% 0.121 104.2)
XYZxyz(30.5856, 34.8475, 9.6716)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA23E #3E47AB
analogous
#AB6B3E #ABA23E #7DAB3E
triadic
#ABA23E #3EABA2 #A23EAB
tetradic
#ABA23E #3EAB6B #3E47AB #AB3E7D
square
#ABA23E #3EAB6B #3E47AB #AB3E7D
split-complementary
#ABA23E #3E7DAB #6B3EAB
monochromatic
#514D1D #7E772E #ABA23E #C6BD61 #D6D08E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA23E#FFFFFF#000000##000000
##ABA23E1.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)
#B09D32
Deuteranopia (green-blind)
#B3A244
Tritanopia (blue-blind)
#B7978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba23e;
/* rgb */ color: rgb(171, 162, 62);
/* oklch */ color: oklch(70.1% 0.121 104.2);
Tailwind
colors: {
  custom: {
    50: '#c7bd78',
    500: '#aba23e',
    950: '#000000',
  },
}
SCSS
$custom: #aba23e;
$custom-light: #c7bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#aba23e",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 55.046,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70053,
    "c": 0.12083,
    "h": 104.2
  },
  "luminance": 0.34846
}

Semantic roles & 50–950 ramp

primary
#ABA23E
secondary
#8489C1
accent
#5CD651
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA23E

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

Preview Lab → · Contrast checker → · Palette generator →

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