#B0B52E#B0B52E

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

Color values

HEX#B0B52E
RGBrgb(176, 181, 46)
HSLhsl(62, 59%, 45%)
HSVhsv(62, 75%, 71%)
CMYKcmyk(2.8%, 0%, 74.6%, 29%)
CIE-LABlab(71.20, -17.73, 63.40)
CIE-LCHlch(71.20, 65.84, 105.63°)
OKLaboklab(74.56% -0.0554 0.1394)
OKLCHoklch(74.56% 0.15 111.7)
XYZxyz(34.9227, 42.4760, 8.9433)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B52E #332EB5
analogous
#B5762E #B0B52E #6DB52E
triadic
#B0B52E #2EB0B5 #B52EB0
tetradic
#B0B52E #2EB576 #332EB5 #B52E6D
square
#B0B52E #2EB576 #332EB5 #B52E6D
split-complementary
#B0B52E #2E6DB5 #762EB5
monochromatic
#515315 #818422 #B0B52E #CDD24E #DBDE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B52E#FFFFFF#000000##000000
##B0B52E1.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)
#C3AD0F
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#BCAA9B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b0b52e;
/* rgb */ color: rgb(176, 181, 46);
/* oklch */ color: oklch(74.6% 0.150 111.7);
Tailwind
colors: {
  custom: {
    50: '#cbca71',
    500: '#b0b52e',
    950: '#000000',
  },
}
SCSS
$custom: #b0b52e;
$custom-light: #cbca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b52e",
  "rgb": {
    "r": 176,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 62.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74562,
    "c": 0.15003,
    "h": 111.7
  },
  "luminance": 0.42475
}

Semantic roles & 50–950 ramp

primary
#B0B52E
secondary
#7B78C7
accent
#45E34B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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