#B0B027#B0B027

#B0B027 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.4% C 0.149 H 109.6°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#B0B027
RGBrgb(176, 176, 39)
HSLhsl(60, 64%, 42%)
HSVhsv(60, 78%, 69%)
CMYKcmyk(0%, 0%, 77.8%, 31%)
CIE-LABlab(69.77, -15.48, 64.32)
CIE-LCHlch(69.77, 66.16, 103.54°)
OKLaboklab(73.41% -0.0498 0.1401)
OKLCHoklch(73.41% 0.149 109.6)
XYZxyz(33.7973, 40.4283, 7.9422)
Luminance0.4043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B027 #2727B0
analogous
#B06C27 #B0B027 #6CB027
triadic
#B0B027 #27B0B0 #B027B0
tetradic
#B0B027 #27B06C #2727B0 #B0276C
square
#B0B027 #27B06C #2727B0 #B0276C
split-complementary
#B0B027 #276CB0 #6C27B0
monochromatic
#4C4C11 #7E7E1C #B0B027 #D5D540 #E0E072

Accessibility & contrast

On white

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

On black

9.09
#B0B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B027
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B027#FFFFFF#000000##000000
##B0B0271.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#BDA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0b027;
/* rgb */ color: rgb(176, 176, 39);
/* oklch */ color: oklch(73.4% 0.149 109.6);
Tailwind
colors: {
  custom: {
    50: '#cbc76e',
    500: '#b0b027',
    950: '#000000',
  },
}
SCSS
$custom: #b0b027;
$custom-light: #cbc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b027",
  "rgb": {
    "r": 176,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.73412,
    "c": 0.14866,
    "h": 109.6
  },
  "luminance": 0.40427
}

Semantic roles & 50–950 ramp

primary
#B0B027
secondary
#6C6CC7
accent
#41E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B027

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

Preview Lab → · Contrast checker → · Palette generator →

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