#ABA138#ABA138

#ABA138 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.8% C 0.125 H 103.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#ABA138
RGBrgb(171, 161, 56)
HSLhsl(55, 51%, 45%)
HSVhsv(55, 67%, 67%)
CMYKcmyk(0%, 5.8%, 67.3%, 32.9%)
CIE-LABlab(65.31, -9.06, 53.73)
CIE-LCHlch(65.31, 54.49, 99.58°)
OKLaboklab(69.78% -0.0298 0.1209)
OKLCHoklch(69.78% 0.125 103.9)
XYZxyz(30.2545, 34.4344, 8.7935)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA138 #3842AB
analogous
#AB6838 #ABA138 #7BAB38
triadic
#ABA138 #38ABA1 #A138AB
tetradic
#ABA138 #38AB68 #3842AB #AB387B
square
#ABA138 #38AB68 #3842AB #AB387B
split-complementary
#ABA138 #387BAB #6838AB
monochromatic
#4F4A1A #7D7629 #ABA138 #C8BF58 #D7D086

Accessibility & contrast

On white

2.66
#ABA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#ABA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA138
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA138#FFFFFF#000000##000000
##ABA1381.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2A
Deuteranopia (green-blind)
#B2A13E
Tritanopia (blue-blind)
#B8968C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba138;
/* rgb */ color: rgb(171, 161, 56);
/* oklch */ color: oklch(69.8% 0.125 103.9);
Tailwind
colors: {
  custom: {
    50: '#c7bc74',
    500: '#aba138',
    950: '#000000',
  },
}
SCSS
$custom: #aba138;
$custom-light: #c7bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#aba138",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 54.783,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6978,
    "c": 0.12452,
    "h": 103.9
  },
  "luminance": 0.34433
}

Semantic roles & 50–950 ramp

primary
#ABA138
secondary
#7D83C1
accent
#5ADA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA138

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

Preview Lab → · Contrast checker → · Palette generator →

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