#ABA238#ABA238

#ABA238 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.125 H 104.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#ABA238
RGBrgb(171, 162, 56)
HSLhsl(55, 51%, 45%)
HSVhsv(55, 67%, 67%)
CMYKcmyk(0%, 5.3%, 67.3%, 32.9%)
CIE-LABlab(65.58, -9.59, 54.02)
CIE-LCHlch(65.58, 54.86, 100.07°)
OKLaboklab(70% -0.0313 0.1215)
OKLCHoklch(70% 0.125 104.5)
XYZxyz(30.4299, 34.7853, 8.8519)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA238 #3841AB
analogous
#AB6838 #ABA238 #7BAB38
triadic
#ABA238 #38ABA2 #A238AB
tetradic
#ABA238 #38AB68 #3841AB #AB387B
square
#ABA238 #38AB68 #3841AB #AB387B
split-complementary
#ABA238 #387BAB #6838AB
monochromatic
#4F4B1A #7D7629 #ABA238 #C8BF58 #D7D186

Accessibility & contrast

On white

2.64
#ABA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#ABA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA238
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA238#FFFFFF#000000##000000
##ABA2381.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C29
Deuteranopia (green-blind)
#B3A23F
Tritanopia (blue-blind)
#B8978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba238;
/* rgb */ color: rgb(171, 162, 56);
/* oklch */ color: oklch(70.0% 0.125 104.5);
Tailwind
colors: {
  custom: {
    50: '#c7bd74',
    500: '#aba238',
    950: '#000000',
  },
}
SCSS
$custom: #aba238;
$custom-light: #c7bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#aba238",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 55.304,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69999,
    "c": 0.12547,
    "h": 104.5
  },
  "luminance": 0.34784
}

Semantic roles & 50–950 ramp

primary
#ABA238
secondary
#7D83C1
accent
#59DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA238

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

Preview Lab → · Contrast checker → · Palette generator →

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