#A0B331#A0B331

#A0B331 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.151 H 117.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A0B331
RGBrgb(160, 179, 49)
HSLhsl(69, 57%, 45%)
HSVhsv(69, 73%, 70%)
CMYKcmyk(10.6%, 0%, 72.6%, 29.8%)
CIE-LABlab(69.42, -23.40, 60.25)
CIE-LCHlch(69.42, 64.64, 111.22°)
OKLaboklab(72.84% -0.07 0.1338)
OKLCHoklch(72.84% 0.151 117.6)
XYZxyz(31.1724, 39.9359, 8.9714)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B331 #4431B3
analogous
#B38531 #A0B331 #5FB331
triadic
#A0B331 #31A0B3 #B331A0
tetradic
#A0B331 #31B385 #4431B3 #B3315F
square
#A0B331 #31B385 #4431B3 #B3315F
split-complementary
#A0B331 #315FB3 #8531B3
monochromatic
#4A5317 #758324 #A0B331 #BDD052 #CFDD82

Accessibility & contrast

On white

2.34
#A0B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A0B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B331
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B331#FFFFFF#000000##000000
##A0B3311.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#AAA99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b331;
/* rgb */ color: rgb(160, 179, 49);
/* oklch */ color: oklch(72.8% 0.151 117.6);
Tailwind
colors: {
  custom: {
    50: '#bfc972',
    500: '#a0b331',
    950: '#000000',
  },
}
SCSS
$custom: #a0b331;
$custom-light: #bfc972;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b331",
  "rgb": {
    "r": 160,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 68.769,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7284,
    "c": 0.15101,
    "h": 117.6
  },
  "luminance": 0.39936
}

Semantic roles & 50–950 ramp

primary
#A0B331
secondary
#857AC6
accent
#48E05E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0B331

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

Preview Lab → · Contrast checker → · Palette generator →

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