#B0AF25#B0AF25

#B0AF25 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#B0AF25
RGBrgb(176, 175, 37)
HSLhsl(60, 65%, 42%)
HSVhsv(60, 79%, 69%)
CMYKcmyk(0%, 0.6%, 79%, 31%)
CIE-LABlab(69.49, -15.05, 64.66)
CIE-LCHlch(69.49, 66.39, 103.10°)
OKLaboklab(73.18% -0.0487 0.1404)
OKLCHoklch(73.18% 0.149 109.1)
XYZxyz(33.5697, 40.0247, 7.7071)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF25 #2526B0
analogous
#B06925 #B0AF25 #6CB025
triadic
#B0AF25 #25B0AF #AF25B0
tetradic
#B0AF25 #25B069 #2526B0 #B0256C
square
#B0AF25 #25B069 #2526B0 #B0256C
split-complementary
#B0AF25 #256CB0 #6925B0
monochromatic
#4B4A10 #7D7D1A #B0AF25 #D6D53C #E1E06F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0AF25#FFFFFF#000000##000000
##B0AF251.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: #b0af25;
/* rgb */ color: rgb(176, 175, 37);
/* oklch */ color: oklch(73.2% 0.149 109.1);
Tailwind
colors: {
  custom: {
    50: '#cbc66d',
    500: '#b0af25',
    950: '#000000',
  },
}
SCSS
$custom: #b0af25;
$custom-light: #cbc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af25",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 59.568,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7318,
    "c": 0.14865,
    "h": 109.1
  },
  "luminance": 0.40024
}

Semantic roles & 50–950 ramp

primary
#B0AF25
secondary
#6A6AC7
accent
#41E840
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B0AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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