#B0AF3A#B0AF3A

#B0AF3A is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.3% C 0.136 H 108.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#B0AF3A
RGBrgb(176, 175, 58)
HSLhsl(59, 50%, 46%)
HSVhsv(59, 67%, 69%)
CMYKcmyk(0%, 0.6%, 67%, 31%)
CIE-LABlab(69.61, -14.07, 57.46)
CIE-LCHlch(69.61, 59.16, 103.76°)
OKLaboklab(73.32% -0.044 0.1289)
OKLCHoklch(73.32% 0.136 108.9)
XYZxyz(33.9993, 40.1965, 9.9699)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF3A #3A3BB0
analogous
#B0743A #B0AF3A #76B03A
triadic
#B0AF3A #3AB0AF #AF3AB0
tetradic
#B0AF3A #3AB074 #3A3BB0 #B03A76
square
#B0AF3A #3AB074 #3A3BB0 #B03A76
split-complementary
#B0AF3A #3A76B0 #743AB0
monochromatic
#54531C #82812B #B0AF3A #CAC95D #D9D88B

Accessibility & contrast

On white

2.32
#B0AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#B0AF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF3A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF3A#FFFFFF#000000##000000
##B0AF3A1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#BCA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0af3a;
/* rgb */ color: rgb(176, 175, 58);
/* oklch */ color: oklch(73.3% 0.136 108.9);
Tailwind
colors: {
  custom: {
    50: '#cbc677',
    500: '#b0af3a',
    950: '#000000',
  },
}
SCSS
$custom: #b0af3a;
$custom-light: #cbc677;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af3a",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 59.492,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73317,
    "c": 0.13625,
    "h": 108.9
  },
  "luminance": 0.40196
}

Semantic roles & 50–950 ramp

primary
#B0AF3A
secondary
#8283C3
accent
#4FDA4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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