#B5AA2C#B5AA2C

#B5AA2C is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.140 H 104.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B5AA2C
RGBrgb(181, 170, 44)
HSLhsl(55, 61%, 44%)
HSVhsv(55, 76%, 71%)
CMYKcmyk(0%, 6.1%, 75.7%, 29%)
CIE-LABlab(68.57, -10.00, 61.78)
CIE-LCHlch(68.57, 62.58, 99.20°)
OKLaboklab(72.57% -0.0343 0.1354)
OKLCHoklch(72.57% 0.14 104.2)
XYZxyz(33.8869, 38.7564, 8.0781)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA2C #2C37B5
analogous
#B5652C #B5AA2C #7CB52C
triadic
#B5AA2C #2CB5AA #AA2CB5
tetradic
#B5AA2C #2CB565 #2C37B5 #B52C7C
square
#B5AA2C #2CB565 #2C37B5 #B52C7C
split-complementary
#B5AA2C #2C7CB5 #652CB5
monochromatic
#534E14 #847C20 #B5AA2C #D3C84B #DFD77C

Accessibility & contrast

On white

2.40
#B5AA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B5AA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA2C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA2C#FFFFFF#000000##000000
##B5AA2C1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA410
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#C39E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5aa2c;
/* rgb */ color: rgb(181, 170, 44);
/* oklch */ color: oklch(72.6% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#cfc26f',
    500: '#b5aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa2c;
$custom-light: #cfc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa2c",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 55.182,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72567,
    "c": 0.13967,
    "h": 104.2
  },
  "luminance": 0.38755
}

Semantic roles & 50–950 ramp

primary
#B5AA2C
secondary
#757CC8
accent
#51E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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