#B0AF4A#B0AF4A

#B0AF4A is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.123 H 108.6°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#B0AF4A
RGBrgb(176, 175, 74)
HSLhsl(59, 41%, 49%)
HSVhsv(59, 58%, 69%)
CMYKcmyk(0%, 0.6%, 58%, 31%)
CIE-LABlab(69.74, -13.01, 50.74)
CIE-LCHlch(69.74, 52.38, 104.38°)
OKLaboklab(73.47% -0.0393 0.1171)
OKLCHoklch(73.47% 0.123 108.6)
XYZxyz(34.4715, 40.3854, 12.4565)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF4A #4A4BB0
analogous
#B07C4A #B0AF4A #7EB04A
triadic
#B0AF4A #4AB0AF #AF4AB0
tetradic
#B0AF4A #4AB07C #4A4BB0 #B04A7E
square
#B0AF4A #4AB07C #4A4BB0 #B04A7E
split-complementary
#B0AF4A #4A7EB0 #7C4AB0
monochromatic
#5A5926 #858438 #B0AF4A #C4C373 #D6D69E

Accessibility & contrast

On white

2.31
#B0AF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#B0AF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF4A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF4A#FFFFFF#000000##000000
##B0AF4A1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83F
Deuteranopia (green-blind)
#BEAC50
Tritanopia (blue-blind)
#BCA599
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0af4a;
/* rgb */ color: rgb(176, 175, 74);
/* oklch */ color: oklch(73.5% 0.123 108.6);
Tailwind
colors: {
  custom: {
    50: '#cac680',
    500: '#b0af4a',
    950: '#000000',
  },
}
SCSS
$custom: #b0af4a;
$custom-light: #cac680;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af4a",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 59.412,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73467,
    "c": 0.12349,
    "h": 108.6
  },
  "luminance": 0.40384
}

Semantic roles & 50–950 ramp

primary
#B0AF4A
secondary
#9393C3
accent
#58D157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B0AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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