#ABAA38#ABAA38

#ABAA38 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.8% C 0.133 H 108.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#ABAA38
RGBrgb(171, 170, 56)
HSLhsl(59, 51%, 45%)
HSVhsv(59, 67%, 67%)
CMYKcmyk(0%, 0.6%, 67.3%, 32.9%)
CIE-LABlab(67.79, -13.77, 56.28)
CIE-LCHlch(67.79, 57.94, 103.75°)
OKLaboklab(71.76% -0.0431 0.1263)
OKLCHoklch(71.76% 0.133 108.8)
XYZxyz(31.8842, 37.6938, 9.3367)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAA38 #3839AB
analogous
#AB7038 #ABAA38 #73AB38
triadic
#ABAA38 #38ABAA #AA38AB
tetradic
#ABAA38 #38AB70 #3839AB #AB3873
square
#ABAA38 #38AB70 #3839AB #AB3873
split-complementary
#ABAA38 #3873AB #7038AB
monochromatic
#4F4E1A #7D7C29 #ABAA38 #C8C758 #D7D786

Accessibility & contrast

On white

2.46
#ABAA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#ABAA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAA38
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAA38#FFFFFF#000000##000000
##ABAA381.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A327
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#B79F93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #abaa38;
/* rgb */ color: rgb(171, 170, 56);
/* oklch */ color: oklch(71.8% 0.133 108.8);
Tailwind
colors: {
  custom: {
    50: '#c7c375',
    500: '#abaa38',
    950: '#000000',
  },
}
SCSS
$custom: #abaa38;
$custom-light: #c7c375;
$custom-dark: #000000;
JSON
{
  "hex": "#abaa38",
  "rgb": {
    "r": 171,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 59.478,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71763,
    "c": 0.13342,
    "h": 108.8
  },
  "luminance": 0.37693
}

Semantic roles & 50–950 ramp

primary
#ABAA38
secondary
#7D7EC1
accent
#4FDA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABAA38

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

Preview Lab → · Contrast checker → · Palette generator →

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