#ABB252#ABB252

#ABB252 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.8% C 0.121 H 112.8°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#ABB252
RGBrgb(171, 178, 82)
HSLhsl(64, 38%, 51%)
HSVhsv(64, 54%, 70%)
CMYKcmyk(3.9%, 0%, 53.9%, 30.2%)
CIE-LABlab(70.25, -16.01, 47.50)
CIE-LCHlch(70.25, 50.12, 108.63°)
OKLaboklab(73.8% -0.0466 0.1111)
OKLCHoklch(73.8% 0.121 112.8)
XYZxyz(34.2387, 41.1085, 14.1121)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB252 #5952B2
analogous
#B28952 #ABB252 #7BB252
triadic
#ABB252 #52ABB2 #B252AB
tetradic
#ABB252 #52B289 #5952B2 #B2527B
square
#ABB252 #52B289 #5952B2 #B2527B
split-complementary
#ABB252 #527BB2 #8952B2
monochromatic
#5B5F2A #848A3D #ABB252 #C0C57C #D4D8A7

Accessibility & contrast

On white

2.28
#ABB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#ABB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB252
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB252#FFFFFF#000000##000000
##ABB2521.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB49
Deuteranopia (green-blind)
#BEAD57
Tritanopia (blue-blind)
#B5A99D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb252;
/* rgb */ color: rgb(171, 178, 82);
/* oklch */ color: oklch(73.8% 0.121 112.8);
Tailwind
colors: {
  custom: {
    50: '#c6c886',
    500: '#abb252',
    950: '#000000',
  },
}
SCSS
$custom: #abb252;
$custom-light: #c6c886;
$custom-dark: #000000;
JSON
{
  "hex": "#abb252",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 64.375,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.738,
    "c": 0.12053,
    "h": 112.8
  },
  "luminance": 0.41108
}

Semantic roles & 50–950 ramp

primary
#ABB252
secondary
#9E9BC5
accent
#59CE62
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABB252

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

Preview Lab → · Contrast checker → · Palette generator →

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