#ABB838#ABB838

#ABB838 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.9% C 0.149 H 115.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#ABB838
RGBrgb(171, 184, 56)
HSLhsl(66, 53%, 47%)
HSVhsv(66, 70%, 72%)
CMYKcmyk(7.1%, 0%, 69.6%, 27.8%)
CIE-LABlab(71.71, -20.87, 60.21)
CIE-LCHlch(71.71, 63.73, 109.11°)
OKLaboklab(74.89% -0.063 0.1346)
OKLCHoklch(74.89% 0.149 115.1)
XYZxyz(34.6498, 43.2250, 10.2586)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB838 #4538B8
analogous
#B88538 #ABB838 #6BB838
triadic
#ABB838 #38ABB8 #B838AB
tetradic
#ABB838 #38B885 #4538B8 #B8386B
square
#ABB838 #38B885 #4538B8 #B8386B
split-complementary
#ABB838 #386BB8 #8538B8
monochromatic
#545A1B #7F892A #ABB838 #C3CE5F #D5DD8E

Accessibility & contrast

On white

2.18
#ABB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#ABB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB838
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB838#FFFFFF#000000##000000
##ABB8381.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF23
Deuteranopia (green-blind)
#C4B142
Tritanopia (blue-blind)
#B6AD9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #abb838;
/* rgb */ color: rgb(171, 184, 56);
/* oklch */ color: oklch(74.9% 0.149 115.1);
Tailwind
colors: {
  custom: {
    50: '#c7cd77',
    500: '#abb838',
    950: '#000000',
  },
}
SCSS
$custom: #abb838;
$custom-light: #c7cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#abb838",
  "rgb": {
    "r": 171,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 66.094,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74893,
    "c": 0.14857,
    "h": 115.1
  },
  "luminance": 0.43224
}

Semantic roles & 50–950 ramp

primary
#ABB838
secondary
#8B85C7
accent
#4BDD5A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABB838

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

Preview Lab → · Contrast checker → · Palette generator →

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