#ABA23F#ABA23F

#ABA23F is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.120 H 104.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#ABA23F
RGBrgb(171, 162, 63)
HSLhsl(55, 46%, 46%)
HSVhsv(55, 63%, 67%)
CMYKcmyk(0%, 5.3%, 63.2%, 32.9%)
CIE-LABlab(65.64, -9.15, 51.07)
CIE-LCHlch(65.64, 51.89, 100.16°)
OKLaboklab(70.06% -0.0293 0.1164)
OKLCHoklch(70.06% 0.12 104.1)
XYZxyz(30.6132, 34.8586, 9.8175)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA23F #3F48AB
analogous
#AB6C3F #ABA23F #7EAB3F
triadic
#ABA23F #3FABA2 #A23FAB
tetradic
#ABA23F #3FAB6C #3F48AB #AB3F7E
square
#ABA23F #3FAB6C #3F48AB #AB3F7E
split-complementary
#ABA23F #3F7EAB #6C3FAB
monochromatic
#524D1E #7E782F #ABA23F #C5BD62 #D6D08F

Accessibility & contrast

On white

2.63
#ABA23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#ABA23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA23F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA23F#FFFFFF#000000##000000
##ABA23F1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D33
Deuteranopia (green-blind)
#B3A245
Tritanopia (blue-blind)
#B7978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba23f;
/* rgb */ color: rgb(171, 162, 63);
/* oklch */ color: oklch(70.1% 0.120 104.1);
Tailwind
colors: {
  custom: {
    50: '#c7bd79',
    500: '#aba23f',
    950: '#000000',
  },
}
SCSS
$custom: #aba23f;
$custom-light: #c7bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#aba23f",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 55,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70063,
    "c": 0.12001,
    "h": 104.1
  },
  "luminance": 0.34857
}

Semantic roles & 50–950 ramp

primary
#ABA23F
secondary
#858AC1
accent
#5DD652
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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