#ABA13C#ABA13C

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

Color values

HEX#ABA13C
RGBrgb(171, 161, 60)
HSLhsl(55, 48%, 45%)
HSVhsv(55, 65%, 67%)
CMYKcmyk(0%, 5.8%, 64.9%, 32.9%)
CIE-LABlab(65.34, -8.82, 52.07)
CIE-LCHlch(65.34, 52.81, 99.61°)
OKLaboklab(69.82% -0.0287 0.118)
OKLCHoklch(69.82% 0.121 103.7)
XYZxyz(30.3562, 34.4751, 9.3294)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA13C #3C46AB
analogous
#AB6A3C #ABA13C #7DAB3C
triadic
#ABA13C #3CABA1 #A13CAB
tetradic
#ABA13C #3CAB6A #3C46AB #AB3C7D
square
#ABA13C #3CAB6A #3C46AB #AB3C7D
split-complementary
#ABA13C #3C7DAB #6A3CAB
monochromatic
#504C1C #7E762C #ABA13C #C6BD5E #D6D08B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA13C#FFFFFF#000000##000000
##ABA13C1.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)
#AF9C2F
Deuteranopia (green-blind)
#B2A142
Tritanopia (blue-blind)
#B7968C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba13c;
/* rgb */ color: rgb(171, 161, 60);
/* oklch */ color: oklch(69.8% 0.121 103.7);
Tailwind
colors: {
  custom: {
    50: '#c7bc77',
    500: '#aba13c',
    950: '#000000',
  },
}
SCSS
$custom: #aba13c;
$custom-light: #c7bc77;
$custom-dark: #000000;
JSON
{
  "hex": "#aba13c",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 60
  },
  "hsl": {
    "h": 54.595,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69816,
    "c": 0.12146,
    "h": 103.7
  },
  "luminance": 0.34474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABA13C

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

Preview Lab → · Contrast checker → · Palette generator →

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