#B0A02F#B0A02F

#B0A02F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.130 H 101.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B0A02F
RGBrgb(176, 160, 47)
HSLhsl(53, 58%, 44%)
HSVhsv(53, 73%, 69%)
CMYKcmyk(0%, 9.1%, 73.3%, 31%)
CIE-LABlab(65.42, -6.81, 57.56)
CIE-LCHlch(65.42, 57.96, 96.75°)
OKLaboklab(69.96% -0.0247 0.1272)
OKLCHoklch(69.96% 0.13 101)
XYZxyz(30.9898, 34.5784, 7.7307)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A02F #2F3FB0
analogous
#B05F2F #B0A02F #7FB02F
triadic
#B0A02F #2FB0A0 #A02FB0
tetradic
#B0A02F #2FB05F #2F3FB0 #B02F7F
square
#B0A02F #2FB05F #2F3FB0 #B02F7F
split-complementary
#B0A02F #2F7FB0 #5F2FB0
monochromatic
#4F4815 #807422 #B0A02F #CFBF4D #DCD07D

Accessibility & contrast

On white

2.65
#B0A02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B0A02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A02F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A02F#FFFFFF#000000##000000
##B0A02F1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1C
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#BE948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b0a02f;
/* rgb */ color: rgb(176, 160, 47);
/* oklch */ color: oklch(70.0% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#cbbb6f',
    500: '#b0a02f',
    950: '#000000',
  },
}
SCSS
$custom: #b0a02f;
$custom-light: #cbbb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a02f",
  "rgb": {
    "r": 176,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 52.558,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69957,
    "c": 0.12959,
    "h": 101
  },
  "luminance": 0.34577
}

Semantic roles & 50–950 ramp

primary
#B0A02F
secondary
#7680C5
accent
#5AE147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #B0A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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