#ABAF2B#ABAF2B

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

Color values

HEX#ABAF2B
RGBrgb(171, 175, 43)
HSLhsl(62, 61%, 43%)
HSVhsv(62, 75%, 69%)
CMYKcmyk(2.3%, 0%, 75.4%, 31.4%)
CIE-LABlab(69.11, -16.98, 62.30)
CIE-LCHlch(69.11, 64.57, 105.25°)
OKLaboklab(72.79% -0.0533 0.1367)
OKLCHoklch(72.79% 0.147 111.3)
XYZxyz(32.5617, 39.4931, 8.1927)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF2B #2F2BAF
analogous
#AF712B #ABAF2B #69AF2B
triadic
#ABAF2B #2BABAF #AF2BAB
tetradic
#ABAF2B #2BAF71 #2F2BAF #AF2B69
square
#ABAF2B #2BAF71 #2F2BAF #AF2B69
split-complementary
#ABAF2B #2B69AF #712BAF
monochromatic
#4B4D13 #7B7E1F #ABAF2B #CDD146 #DADE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAF2B#FFFFFF#000000##000000
##ABAF2B1.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)
#BDA70B
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#B7A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf2b;
/* rgb */ color: rgb(171, 175, 43);
/* oklch */ color: oklch(72.8% 0.147 111.3);
Tailwind
colors: {
  custom: {
    50: '#c8c66f',
    500: '#abaf2b',
    950: '#000000',
  },
}
SCSS
$custom: #abaf2b;
$custom-light: #c8c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf2b",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 61.818,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72786,
    "c": 0.14675,
    "h": 111.3
  },
  "luminance": 0.39492
}

Semantic roles & 50–950 ramp

primary
#ABAF2B
secondary
#7370C5
accent
#44E449
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABAF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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