#B0A331#B0A331

#B0A331 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.6% C 0.131 H 102.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B0A331
RGBrgb(176, 163, 49)
HSLhsl(54, 56%, 44%)
HSVhsv(54, 72%, 69%)
CMYKcmyk(0%, 7.4%, 72.2%, 31%)
CIE-LABlab(66.25, -8.30, 57.61)
CIE-LCHlch(66.25, 58.21, 98.20°)
OKLaboklab(70.62% -0.0287 0.1277)
OKLCHoklch(70.62% 0.131 102.7)
XYZxyz(31.5574, 35.6476, 8.1235)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A331 #313EB0
analogous
#B06431 #B0A331 #7EB031
triadic
#B0A331 #31B0A3 #A331B0
tetradic
#B0A331 #31B064 #313EB0 #B0317E
square
#B0A331 #31B064 #313EB0 #B0317E
split-complementary
#B0A331 #317EB0 #6431B0
monochromatic
#504A16 #807724 #B0A331 #CEC150 #DCD280

Accessibility & contrast

On white

2.58
#B0A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B0A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A331
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A331#FFFFFF#000000##000000
##B0A3311.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1E
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#BD978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b0a331;
/* rgb */ color: rgb(176, 163, 49);
/* oklch */ color: oklch(70.6% 0.131 102.7);
Tailwind
colors: {
  custom: {
    50: '#cbbd71',
    500: '#b0a331',
    950: '#000000',
  },
}
SCSS
$custom: #b0a331;
$custom-light: #cbbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a331",
  "rgb": {
    "r": 176,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 53.858,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70621,
    "c": 0.13089,
    "h": 102.7
  },
  "luminance": 0.35646
}

Semantic roles & 50–950 ramp

primary
#B0A331
secondary
#7880C5
accent
#58E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0A331

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

Preview Lab → · Contrast checker → · Palette generator →

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