#B0AF24#B0AF24

#B0AF24 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.149 H 109.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B0AF24
RGBrgb(176, 175, 36)
HSLhsl(60, 66%, 42%)
HSVhsv(60, 80%, 69%)
CMYKcmyk(0%, 0.6%, 79.5%, 31%)
CIE-LABlab(69.48, -15.08, 64.94)
CIE-LCHlch(69.48, 66.67, 103.07°)
OKLaboklab(73.18% -0.0489 0.1409)
OKLCHoklch(73.18% 0.149 109.1)
XYZxyz(33.5542, 40.0185, 7.6256)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF24 #2425B0
analogous
#B06924 #B0AF24 #6BB024
triadic
#B0AF24 #24B0AF #AF24B0
tetradic
#B0AF24 #24B069 #2425B0 #B0246B
square
#B0AF24 #24B069 #2425B0 #B0246B
split-complementary
#B0AF24 #246BB0 #6924B0
monochromatic
#4A4A0F #7D7C1A #B0AF24 #D7D63A #E1E06D

Accessibility & contrast

On white

2.33
#B0AF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#B0AF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF24
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF24#FFFFFF#000000##000000
##B0AF241.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#C0AC31
Tritanopia (blue-blind)
#BDA396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0af24;
/* rgb */ color: rgb(176, 175, 36);
/* oklch */ color: oklch(73.2% 0.149 109.1);
Tailwind
colors: {
  custom: {
    50: '#ccc66c',
    500: '#b0af24',
    950: '#000000',
  },
}
SCSS
$custom: #b0af24;
$custom-light: #ccc66c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af24",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 59.571,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.73175,
    "c": 0.14911,
    "h": 109.1
  },
  "luminance": 0.40017
}

Semantic roles & 50–950 ramp

primary
#B0AF24
secondary
#6869C8
accent
#40E93F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B0AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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