#B0B827#B0B827

#B0B827 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.157 H 112.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B0B827
RGBrgb(176, 184, 39)
HSLhsl(63, 65%, 44%)
HSVhsv(63, 79%, 72%)
CMYKcmyk(4.3%, 0%, 78.8%, 27.8%)
CIE-LABlab(72.00, -19.52, 66.31)
CIE-LCHlch(72.00, 69.13, 106.41°)
OKLaboklab(75.19% -0.061 0.1443)
OKLCHoklch(75.19% 0.157 112.9)
XYZxyz(35.4124, 43.6584, 8.4805)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B827 #2F27B8
analogous
#B87727 #B0B827 #67B827
triadic
#B0B827 #27B0B8 #B827B0
tetradic
#B0B827 #27B877 #2F27B8 #B82767
square
#B0B827 #27B877 #2F27B8 #B82767
split-complementary
#B0B827 #2767B8 #7727B8
monochromatic
#4F5312 #80861C #B0B827 #CFD845 #DCE277

Accessibility & contrast

On white

2.16
#B0B827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#B0B827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B827
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B827#FFFFFF#000000##000000
##B0B8271.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C6B235
Tritanopia (blue-blind)
#BCAC9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b0b827;
/* rgb */ color: rgb(176, 184, 39);
/* oklch */ color: oklch(75.2% 0.157 112.9);
Tailwind
colors: {
  custom: {
    50: '#cbcd6f',
    500: '#b0b827',
    950: '#000000',
  },
}
SCSS
$custom: #b0b827;
$custom-light: #cbcd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b827",
  "rgb": {
    "r": 176,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 63.31,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75193,
    "c": 0.1567,
    "h": 112.9
  },
  "luminance": 0.43658
}

Semantic roles & 50–950 ramp

primary
#B0B827
secondary
#7671CA
accent
#40E849
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B827

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

Preview Lab → · Contrast checker → · Palette generator →

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