#ABB257#ABB257

#ABB257 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.116 H 112.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#ABB257
RGBrgb(171, 178, 87)
HSLhsl(65, 37%, 52%)
HSVhsv(65, 51%, 70%)
CMYKcmyk(3.9%, 0%, 51.1%, 30.2%)
CIE-LABlab(70.31, -15.57, 45.17)
CIE-LCHlch(70.31, 47.77, 109.02°)
OKLaboklab(73.86% -0.0449 0.1066)
OKLCHoklch(73.86% 0.116 112.8)
XYZxyz(34.4359, 41.1874, 15.1509)
Luminance0.4119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB257 #5E57B2
analogous
#B28B57 #ABB257 #7EB257
triadic
#ABB257 #57ABB2 #B257AB
tetradic
#ABB257 #57B28B #5E57B2 #B2577E
square
#ABB257 #57B28B #5E57B2 #B2577E
split-complementary
#ABB257 #577EB2 #8B57B2
monochromatic
#5E622D #868C40 #ABB257 #C0C581 #D5D8AB

Accessibility & contrast

On white

2.27
#ABB257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#ABB257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB257
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB257#FFFFFF#000000##000000
##ABB2571.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abb257;
/* rgb */ color: rgb(171, 178, 87);
/* oklch */ color: oklch(73.9% 0.116 112.8);
Tailwind
colors: {
  custom: {
    50: '#c6c889',
    500: '#abb257',
    950: '#000000',
  },
}
SCSS
$custom: #abb257;
$custom-light: #c6c889;
$custom-dark: #000000;
JSON
{
  "hex": "#abb257",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 64.615,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73862,
    "c": 0.11564,
    "h": 112.8
  },
  "luminance": 0.41187
}

Semantic roles & 50–950 ramp

primary
#ABB257
secondary
#A29EC6
accent
#5BCD63
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #ABB257

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

Preview Lab → · Contrast checker → · Palette generator →

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