#AAB234#AAB234

#AAB234 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.145 H 113.0°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#AAB234
RGBrgb(170, 178, 52)
HSLhsl(64, 55%, 45%)
HSVhsv(64, 71%, 70%)
CMYKcmyk(4.5%, 0%, 70.8%, 30.2%)
CIE-LABlab(69.92, -18.50, 59.91)
CIE-LCHlch(69.92, 62.70, 107.16°)
OKLaboklab(73.43% -0.0567 0.1333)
OKLCHoklch(73.43% 0.145 113)
XYZxyz(33.1188, 40.6355, 9.3469)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB234 #3C34B2
analogous
#B27B34 #AAB234 #6BB234
triadic
#AAB234 #34AAB2 #B234AA
tetradic
#AAB234 #34B27B #3C34B2 #B2346B
square
#AAB234 #34B27B #3C34B2 #B2346B
split-complementary
#AAB234 #346BB2 #7B34B2
monochromatic
#505318 #7D8326 #AAB234 #C6CE56 #D6DB85

Accessibility & contrast

On white

2.30
#AAB234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#AAB234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB234
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB234#FFFFFF#000000##000000
##AAB2341.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA1E
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#B5A799
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab234;
/* rgb */ color: rgb(170, 178, 52);
/* oklch */ color: oklch(73.4% 0.145 113.0);
Tailwind
colors: {
  custom: {
    50: '#c7c874',
    500: '#aab234',
    950: '#000000',
  },
}
SCSS
$custom: #aab234;
$custom-light: #c7c874;
$custom-dark: #000000;
JSON
{
  "hex": "#aab234",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 63.81,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73433,
    "c": 0.14484,
    "h": 113
  },
  "luminance": 0.40635
}

Semantic roles & 50–950 ramp

primary
#AAB234
secondary
#817DC5
accent
#4ADE53
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB234

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

Preview Lab → · Contrast checker → · Palette generator →

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