#B1AF35#B1AF35

#B1AF35 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.139 H 108.5°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#B1AF35
RGBrgb(177, 175, 53)
HSLhsl(59, 54%, 45%)
HSVhsv(59, 70%, 69%)
CMYKcmyk(0%, 1.1%, 70.1%, 30.6%)
CIE-LABlab(69.66, -13.91, 59.47)
CIE-LCHlch(69.66, 61.08, 103.17°)
OKLaboklab(73.37% -0.0442 0.1323)
OKLCHoklch(73.37% 0.139 108.5)
XYZxyz(34.1053, 40.2652, 9.3429)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AF35 #3537B1
analogous
#B17135 #B1AF35 #75B135
triadic
#B1AF35 #35B1AF #AF35B1
tetradic
#B1AF35 #35B171 #3537B1 #B13575
square
#B1AF35 #35B171 #3537B1 #B13575
split-complementary
#B1AF35 #3575B1 #7135B1
monochromatic
#535219 #828027 #B1AF35 #CDCB57 #DBD986

Accessibility & contrast

On white

2.32
#B1AF35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#B1AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AF35
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AF35#FFFFFF#000000##000000
##B1AF351.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA821
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#BEA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b1af35;
/* rgb */ color: rgb(177, 175, 53);
/* oklch */ color: oklch(73.4% 0.139 108.5);
Tailwind
colors: {
  custom: {
    50: '#ccc674',
    500: '#b1af35',
    950: '#000000',
  },
}
SCSS
$custom: #b1af35;
$custom-light: #ccc674;
$custom-dark: #000000;
JSON
{
  "hex": "#b1af35",
  "rgb": {
    "r": 177,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 59.032,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73365,
    "c": 0.13949,
    "h": 108.5
  },
  "luminance": 0.40264
}

Semantic roles & 50–950 ramp

primary
#B1AF35
secondary
#7D7FC4
accent
#4DDD4B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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