#B0AF30#B0AF30

#B0AF30 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.2% C 0.143 H 109.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B0AF30
RGBrgb(176, 175, 48)
HSLhsl(60, 57%, 44%)
HSVhsv(60, 73%, 69%)
CMYKcmyk(0%, 0.6%, 72.7%, 31%)
CIE-LABlab(69.54, -14.59, 61.16)
CIE-LCHlch(69.54, 62.87, 103.42°)
OKLaboklab(73.24% -0.0465 0.135)
OKLCHoklch(73.24% 0.143 109)
XYZxyz(33.7692, 40.1045, 8.7578)
Luminance0.4010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF30 #3031B0
analogous
#B06F30 #B0AF30 #71B030
triadic
#B0AF30 #30B0AF #AF30B0
tetradic
#B0AF30 #30B06F #3031B0 #B03071
square
#B0AF30 #30B06F #3031B0 #B03071
split-complementary
#B0AF30 #3071B0 #6F30B0
monochromatic
#504F16 #807F23 #B0AF30 #CFCE4E #DCDB7E

Accessibility & contrast

On white

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

On black

9.02
#B0AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF30
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF30#FFFFFF#000000##000000
##B0AF301.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA817
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#BDA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0af30;
/* rgb */ color: rgb(176, 175, 48);
/* oklch */ color: oklch(73.2% 0.143 109.0);
Tailwind
colors: {
  custom: {
    50: '#cbc672',
    500: '#b0af30',
    950: '#000000',
  },
}
SCSS
$custom: #b0af30;
$custom-light: #cbc672;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af30",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 59.531,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73244,
    "c": 0.14279,
    "h": 109
  },
  "luminance": 0.40103
}

Semantic roles & 50–950 ramp

primary
#B0AF30
secondary
#7778C5
accent
#49E047
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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