#ABA13B#ABA13B

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

Color values

HEX#ABA13B
RGBrgb(171, 161, 59)
HSLhsl(55, 49%, 45%)
HSVhsv(55, 65%, 67%)
CMYKcmyk(0%, 5.8%, 65.5%, 32.9%)
CIE-LABlab(65.33, -8.88, 52.49)
CIE-LCHlch(65.33, 53.23, 99.61°)
OKLaboklab(69.81% -0.029 0.1188)
OKLCHoklch(69.81% 0.122 103.7)
XYZxyz(30.3300, 34.4646, 9.1915)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA13B #3B45AB
analogous
#AB693B #ABA13B #7DAB3B
triadic
#ABA13B #3BABA1 #A13BAB
tetradic
#ABA13B #3BAB69 #3B45AB #AB3B7D
square
#ABA13B #3BAB69 #3B45AB #AB3B7D
split-complementary
#ABA13B #3B7DAB #693BAB
monochromatic
#504B1C #7D762B #ABA13B #C7BD5C #D7D08A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA13B#FFFFFF#000000##000000
##ABA13B1.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)
#AF9C2E
Deuteranopia (green-blind)
#B2A141
Tritanopia (blue-blind)
#B7968C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba13b;
/* rgb */ color: rgb(171, 161, 59);
/* oklch */ color: oklch(69.8% 0.122 103.7);
Tailwind
colors: {
  custom: {
    50: '#c7bc76',
    500: '#aba13b',
    950: '#000000',
  },
}
SCSS
$custom: #aba13b;
$custom-light: #c7bc76;
$custom-dark: #000000;
JSON
{
  "hex": "#aba13b",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 59
  },
  "hsl": {
    "h": 54.643,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69807,
    "c": 0.12224,
    "h": 103.7
  },
  "luminance": 0.34463
}

Semantic roles & 50–950 ramp

primary
#ABA13B
secondary
#8187C1
accent
#5CD850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA13B

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

Preview Lab → · Contrast checker → · Palette generator →

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