#ABAE38#ABAE38

#ABAE38 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.7% C 0.138 H 110.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#ABAE38
RGBrgb(171, 174, 56)
HSLhsl(62, 51%, 45%)
HSVhsv(62, 68%, 68%)
CMYKcmyk(1.7%, 0%, 67.8%, 31.8%)
CIE-LABlab(68.91, -15.82, 57.41)
CIE-LCHlch(68.91, 59.55, 105.41°)
OKLaboklab(72.65% -0.0489 0.1286)
OKLCHoklch(72.65% 0.138 110.8)
XYZxyz(32.6455, 39.2164, 9.5905)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAE38 #3B38AE
analogous
#AE7638 #ABAE38 #70AE38
triadic
#ABAE38 #38ABAE #AE38AB
tetradic
#ABAE38 #38AE76 #3B38AE #AE3870
square
#ABAE38 #38AE76 #3B38AE #AE3870
split-complementary
#ABAE38 #3870AE #7638AE
monochromatic
#50511A #7D8029 #ABAE38 #C7CA59 #D7D988

Accessibility & contrast

On white

2.37
#ABAE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#ABAE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAE38
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAE38#FFFFFF#000000##000000
##ABAE381.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#BCAA40
Tritanopia (blue-blind)
#B7A396
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #abae38;
/* rgb */ color: rgb(171, 174, 56);
/* oklch */ color: oklch(72.7% 0.138 110.8);
Tailwind
colors: {
  custom: {
    50: '#c7c676',
    500: '#abae38',
    950: '#000000',
  },
}
SCSS
$custom: #abae38;
$custom-light: #c7c676;
$custom-dark: #000000;
JSON
{
  "hex": "#abae38",
  "rgb": {
    "r": 171,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 61.525,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72652,
    "c": 0.13762,
    "h": 110.8
  },
  "luminance": 0.39216
}

Semantic roles & 50–950 ramp

primary
#ABAE38
secondary
#817FC3
accent
#4DDB51
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABAE38

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

Preview Lab → · Contrast checker → · Palette generator →

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