#B0B52D#B0B52D

#B0B52D is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.151 H 111.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B0B52D
RGBrgb(176, 181, 45)
HSLhsl(62, 60%, 44%)
HSVhsv(62, 75%, 71%)
CMYKcmyk(2.8%, 0%, 75.1%, 29%)
CIE-LABlab(71.19, -17.78, 63.73)
CIE-LCHlch(71.19, 66.16, 105.59°)
OKLaboklab(74.56% -0.0557 0.1399)
OKLCHoklch(74.56% 0.151 111.7)
XYZxyz(34.9032, 42.4682, 8.8407)
Luminance0.4247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B52D #322DB5
analogous
#B5762D #B0B52D #6CB52D
triadic
#B0B52D #2DB0B5 #B52DB0
tetradic
#B0B52D #2DB576 #322DB5 #B52D6C
square
#B0B52D #2DB576 #322DB5 #B52D6C
split-complementary
#B0B52D #2D6CB5 #762DB5
monochromatic
#515315 #808421 #B0B52D #CED34D #DBDF7E

Accessibility & contrast

On white

2.21
#B0B52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B0B52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B52D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B52D#FFFFFF#000000##000000
##B0B52D1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD0C
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#BCAA9B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b0b52d;
/* rgb */ color: rgb(176, 181, 45);
/* oklch */ color: oklch(74.6% 0.151 111.7);
Tailwind
colors: {
  custom: {
    50: '#cbca71',
    500: '#b0b52d',
    950: '#000000',
  },
}
SCSS
$custom: #b0b52d;
$custom-light: #cbca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b52d",
  "rgb": {
    "r": 176,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 62.206,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74556,
    "c": 0.15058,
    "h": 111.7
  },
  "luminance": 0.42467
}

Semantic roles & 50–950 ramp

primary
#B0B52D
secondary
#7976C7
accent
#44E34A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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