#B5AF35#B5AF35

#B5AF35 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.139 H 106.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#B5AF35
RGBrgb(181, 175, 53)
HSLhsl(57, 55%, 46%)
HSVhsv(57, 71%, 71%)
CMYKcmyk(0%, 3.3%, 70.7%, 29%)
CIE-LABlab(69.99, -12.18, 59.92)
CIE-LCHlch(69.99, 61.14, 101.49°)
OKLaboklab(73.72% -0.0395 0.1331)
OKLCHoklch(73.72% 0.139 106.5)
XYZxyz(35.0300, 40.7420, 9.3862)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AF35 #353BB5
analogous
#B56F35 #B5AF35 #7BB535
triadic
#B5AF35 #35B5AF #AF35B5
tetradic
#B5AF35 #35B56F #353BB5 #B5357B
square
#B5AF35 #35B56F #353BB5 #B5357B
split-complementary
#B5AF35 #357BB5 #6F35B5
monochromatic
#565319 #868127 #B5AF35 #CEC959 #DCD888

Accessibility & contrast

On white

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

On black

9.15
#B5AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AF35
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AF35#FFFFFF#000000##000000
##B5AF351.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA821
Deuteranopia (green-blind)
#C1AD3E
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b5af35;
/* rgb */ color: rgb(181, 175, 53);
/* oklch */ color: oklch(73.7% 0.139 106.5);
Tailwind
colors: {
  custom: {
    50: '#cfc674',
    500: '#b5af35',
    950: '#000000',
  },
}
SCSS
$custom: #b5af35;
$custom-light: #cfc674;
$custom-dark: #000000;
JSON
{
  "hex": "#b5af35",
  "rgb": {
    "r": 181,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 57.188,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73715,
    "c": 0.13886,
    "h": 106.5
  },
  "luminance": 0.40741
}

Semantic roles & 50–950 ramp

primary
#B5AF35
secondary
#8083C6
accent
#51DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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