#ABA262#ABA262

#ABA262 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.085 H 101.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#ABA262
RGBrgb(171, 162, 98)
HSLhsl(53, 30%, 53%)
HSVhsv(53, 43%, 67%)
CMYKcmyk(0%, 5.3%, 42.7%, 32.9%)
CIE-LABlab(66.04, -6.09, 34.40)
CIE-LCHlch(66.04, 34.93, 100.05°)
OKLaboklab(70.52% -0.0167 0.0835)
OKLCHoklch(70.52% 0.085 101.3)
XYZxyz(31.9202, 35.3814, 16.7007)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA262 #626BAB
analogous
#AB7E62 #ABA262 #8FAB62
triadic
#ABA262 #62ABA2 #A262AB
tetradic
#ABA262 #62AB7E #626BAB #AB628F
square
#ABA262 #62AB7E #626BAB #AB628F
split-complementary
#ABA262 #628FAB #7E62AB
monochromatic
#605A33 #878048 #ABA262 #C0BA8A #D6D1B2

Accessibility & contrast

On white

2.60
#ABA262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#ABA262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA262
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA262#FFFFFF#000000##000000
##ABA2621.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E5D
Deuteranopia (green-blind)
#B0A265
Tritanopia (blue-blind)
#B59A92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba262;
/* rgb */ color: rgb(171, 162, 98);
/* oklch */ color: oklch(70.5% 0.085 101.3);
Tailwind
colors: {
  custom: {
    50: '#c5bd8f',
    500: '#aba262',
    950: '#000000',
  },
}
SCSS
$custom: #aba262;
$custom-light: #c5bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba262",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 52.603,
    "s": 30.29,
    "l": 52.745
  },
  "oklch": {
    "l": 0.70517,
    "c": 0.08519,
    "h": 101.3
  },
  "luminance": 0.3538
}

Semantic roles & 50–950 ramp

primary
#ABA262
secondary
#A5A8C4
accent
#6EC761
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA262

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

Preview Lab → · Contrast checker → · Palette generator →

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