#ABA742#ABA742

#ABA742 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.2% C 0.123 H 107.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#ABA742
RGBrgb(171, 167, 66)
HSLhsl(58, 44%, 46%)
HSVhsv(58, 61%, 67%)
CMYKcmyk(0%, 2.3%, 61.4%, 32.9%)
CIE-LABlab(67.04, -11.57, 51.26)
CIE-LCHlch(67.04, 52.55, 102.72°)
OKLaboklab(71.19% -0.0358 0.1172)
OKLCHoklch(71.19% 0.123 107)
XYZxyz(31.5977, 36.6897, 10.5706)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA742 #4246AB
analogous
#AB7342 #ABA742 #7BAB42
triadic
#ABA742 #42ABA7 #A742AB
tetradic
#ABA742 #42AB73 #4246AB #AB427B
square
#ABA742 #42AB73 #4246AB #AB427B
split-complementary
#ABA742 #427BAB #7342AB
monochromatic
#535120 #7F7C31 #ABA742 #C4C066 #D5D392

Accessibility & contrast

On white

2.52
#ABA742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#ABA742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA742
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA742#FFFFFF#000000##000000
##ABA7421.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A136
Deuteranopia (green-blind)
#B6A548
Tritanopia (blue-blind)
#B79D92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba742;
/* rgb */ color: rgb(171, 167, 66);
/* oklch */ color: oklch(71.2% 0.123 107.0);
Tailwind
colors: {
  custom: {
    50: '#c7c07b',
    500: '#aba742',
    950: '#000000',
  },
}
SCSS
$custom: #aba742;
$custom-light: #c7c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba742",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 66
  },
  "hsl": {
    "h": 57.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7119,
    "c": 0.12256,
    "h": 107
  },
  "luminance": 0.36689
}

Semantic roles & 50–950 ramp

primary
#ABA742
secondary
#888AC0
accent
#59D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA742

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

Preview Lab → · Contrast checker → · Palette generator →

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