#B2AF36#B2AF36

#B2AF36 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.139 H 108.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#B2AF36
RGBrgb(178, 175, 54)
HSLhsl(59, 53%, 45%)
HSVhsv(59, 70%, 70%)
CMYKcmyk(0%, 1.7%, 69.7%, 30.2%)
CIE-LABlab(69.75, -13.43, 59.21)
CIE-LCHlch(69.75, 60.71, 102.78°)
OKLaboklab(73.46% -0.0428 0.1319)
OKLCHoklch(73.46% 0.139 108)
XYZxyz(34.3572, 40.3924, 9.4760)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF36 #3639B2
analogous
#B27136 #B2AF36 #77B236
triadic
#B2AF36 #36B2AF #AF36B2
tetradic
#B2AF36 #36B271 #3639B2 #B23677
square
#B2AF36 #36B271 #3639B2 #B23677
split-complementary
#B2AF36 #3677B2 #7136B2
monochromatic
#54531A #838128 #B2AF36 #CDCA59 #DBD988

Accessibility & contrast

On white

2.31
#B2AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#B2AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AF36
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AF36#FFFFFF#000000##000000
##B2AF361.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA823
Deuteranopia (green-blind)
#C0AC3E
Tritanopia (blue-blind)
#BFA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2af36;
/* rgb */ color: rgb(178, 175, 54);
/* oklch */ color: oklch(73.5% 0.139 108.0);
Tailwind
colors: {
  custom: {
    50: '#ccc675',
    500: '#b2af36',
    950: '#000000',
  },
}
SCSS
$custom: #b2af36;
$custom-light: #ccc675;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af36",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 58.548,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73459,
    "c": 0.13866,
    "h": 108
  },
  "luminance": 0.40391
}

Semantic roles & 50–950 ramp

primary
#B2AF36
secondary
#7F81C5
accent
#4EDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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