#ABA838#ABA838

#ABA838 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.3% C 0.131 H 107.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#ABA838
RGBrgb(171, 168, 56)
HSLhsl(58, 51%, 45%)
HSVhsv(58, 67%, 67%)
CMYKcmyk(0%, 1.8%, 67.3%, 32.9%)
CIE-LABlab(67.24, -12.73, 55.71)
CIE-LCHlch(67.24, 57.15, 102.87°)
OKLaboklab(71.32% -0.0402 0.1251)
OKLCHoklch(71.32% 0.131 107.8)
XYZxyz(31.5121, 36.9497, 9.2127)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA838 #383BAB
analogous
#AB6F38 #ABA838 #75AB38
triadic
#ABA838 #38ABA8 #A838AB
tetradic
#ABA838 #38AB6F #383BAB #AB3875
square
#ABA838 #38AB6F #383BAB #AB3875
split-complementary
#ABA838 #3875AB #6F38AB
monochromatic
#4F4D1A #7D7B29 #ABA838 #C8C558 #D7D586

Accessibility & contrast

On white

2.50
#ABA838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#ABA838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA838
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA838#FFFFFF#000000##000000
##ABA8381.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A128
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#B79D91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba838;
/* rgb */ color: rgb(171, 168, 56);
/* oklch */ color: oklch(71.3% 0.131 107.8);
Tailwind
colors: {
  custom: {
    50: '#c7c175',
    500: '#aba838',
    950: '#000000',
  },
}
SCSS
$custom: #aba838;
$custom-light: #c7c175;
$custom-dark: #000000;
JSON
{
  "hex": "#aba838",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 58.435,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7132,
    "c": 0.13138,
    "h": 107.8
  },
  "luminance": 0.36949
}

Semantic roles & 50–950 ramp

primary
#ABA838
secondary
#7D7FC1
accent
#51DA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA838

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

Preview Lab → · Contrast checker → · Palette generator →

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