#ABAF2D#ABAF2D

#ABAF2D is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.146 H 111.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#ABAF2D
RGBrgb(171, 175, 45)
HSLhsl(62, 59%, 43%)
HSVhsv(62, 74%, 69%)
CMYKcmyk(2.3%, 0%, 74.3%, 31.4%)
CIE-LABlab(69.12, -16.89, 61.65)
CIE-LCHlch(69.12, 63.92, 105.33°)
OKLaboklab(72.8% -0.0529 0.1357)
OKLCHoklch(72.8% 0.146 111.3)
XYZxyz(32.5993, 39.5082, 8.3907)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF2D #312DAF
analogous
#AF722D #ABAF2D #6AAF2D
triadic
#ABAF2D #2DABAF #AF2DAB
tetradic
#ABAF2D #2DAF72 #312DAF #AF2D6A
square
#ABAF2D #2DAF72 #312DAF #AF2D6A
split-complementary
#ABAF2D #2D6AAF #722DAF
monochromatic
#4C4E14 #7B7E20 #ABAF2D #CCD049 #DADD7A

Accessibility & contrast

On white

2.36
#ABAF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#ABAF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF2D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF2D#FFFFFF#000000##000000
##ABAF2D1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA711
Deuteranopia (green-blind)
#BEAA38
Tritanopia (blue-blind)
#B7A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf2d;
/* rgb */ color: rgb(171, 175, 45);
/* oklch */ color: oklch(72.8% 0.146 111.3);
Tailwind
colors: {
  custom: {
    50: '#c8c670',
    500: '#abaf2d',
    950: '#000000',
  },
}
SCSS
$custom: #abaf2d;
$custom-light: #c8c670;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf2d",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 61.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72798,
    "c": 0.14564,
    "h": 111.3
  },
  "luminance": 0.39507
}

Semantic roles & 50–950 ramp

primary
#ABAF2D
secondary
#7573C5
accent
#46E24A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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