#B0AF28#B0AF28

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

Color values

HEX#B0AF28
RGBrgb(176, 175, 40)
HSLhsl(60, 63%, 42%)
HSVhsv(60, 77%, 69%)
CMYKcmyk(0%, 0.6%, 77.3%, 31%)
CIE-LABlab(69.50, -14.93, 63.77)
CIE-LCHlch(69.50, 65.49, 103.18°)
OKLaboklab(73.2% -0.0482 0.1391)
OKLCHoklch(73.2% 0.147 109.1)
XYZxyz(33.6188, 40.0443, 7.9655)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF28 #2829B0
analogous
#B06B28 #B0AF28 #6DB028
triadic
#B0AF28 #28B0AF #AF28B0
tetradic
#B0AF28 #28B06B #2829B0 #B0286D
square
#B0AF28 #28B06B #2829B0 #B0286D
split-complementary
#B0AF28 #286DB0 #6B28B0
monochromatic
#4C4C11 #7E7D1D #B0AF28 #D4D341 #DFDE73

Accessibility & contrast

On white

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

On black

9.01
#B0AF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF28
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF28#FFFFFF#000000##000000
##B0AF281.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0af28;
/* rgb */ color: rgb(176, 175, 40);
/* oklch */ color: oklch(73.2% 0.147 109.1);
Tailwind
colors: {
  custom: {
    50: '#cbc66e',
    500: '#b0af28',
    950: '#000000',
  },
}
SCSS
$custom: #b0af28;
$custom-light: #cbc66e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af28",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 59.559,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.73196,
    "c": 0.1472,
    "h": 109.1
  },
  "luminance": 0.40043
}

Semantic roles & 50–950 ramp

primary
#B0AF28
secondary
#6D6EC6
accent
#43E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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