#ABB938#ABB938

#ABB938 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.1% C 0.150 H 115.5°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#ABB938
RGBrgb(171, 185, 56)
HSLhsl(67, 54%, 47%)
HSVhsv(67, 70%, 73%)
CMYKcmyk(7.6%, 0%, 69.7%, 27.5%)
CIE-LABlab(71.99, -21.36, 60.49)
CIE-LCHlch(71.99, 64.15, 109.45°)
OKLaboklab(75.12% -0.0644 0.1352)
OKLCHoklch(75.12% 0.15 115.5)
XYZxyz(34.8582, 43.6419, 10.3280)
Luminance0.4364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB938 #4638B9
analogous
#B98738 #ABB938 #6AB938
triadic
#ABB938 #38ABB9 #B938AB
tetradic
#ABB938 #38B987 #4638B9 #B9386A
square
#ABB938 #38B987 #4638B9 #B9386A
split-complementary
#ABB938 #386AB9 #8738B9
monochromatic
#545B1C #808A2A #ABB938 #C3CF5F #D4DD8E

Accessibility & contrast

On white

2.16
#ABB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#ABB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB938
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB938#FFFFFF#000000##000000
##ABB9381.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B023
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#B6AEA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #abb938;
/* rgb */ color: rgb(171, 185, 56);
/* oklch */ color: oklch(75.1% 0.150 115.5);
Tailwind
colors: {
  custom: {
    50: '#c7cd77',
    500: '#abb938',
    950: '#000000',
  },
}
SCSS
$custom: #abb938;
$custom-light: #c7cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#abb938",
  "rgb": {
    "r": 171,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 66.512,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75119,
    "c": 0.14969,
    "h": 115.5
  },
  "luminance": 0.43641
}

Semantic roles & 50–950 ramp

primary
#ABB938
secondary
#8C85C8
accent
#4BDD5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #ABB938

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

Preview Lab → · Contrast checker → · Palette generator →

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