#B0B727#B0B727

#B0B727 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.0% C 0.156 H 112.5°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#B0B727
RGBrgb(176, 183, 39)
HSLhsl(63, 65%, 44%)
HSVhsv(63, 79%, 72%)
CMYKcmyk(3.8%, 0%, 78.7%, 28.2%)
CIE-LABlab(71.72, -19.02, 66.06)
CIE-LCHlch(71.72, 68.75, 106.06°)
OKLaboklab(74.97% -0.0596 0.1438)
OKLCHoklch(74.97% 0.156 112.5)
XYZxyz(35.2054, 43.2444, 8.4115)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B727 #2E27B7
analogous
#B77627 #B0B727 #68B727
triadic
#B0B727 #27B0B7 #B727B0
tetradic
#B0B727 #27B776 #2E27B7 #B72768
square
#B0B727 #27B776 #2E27B7 #B72768
split-complementary
#B0B727 #2768B7 #7627B7
monochromatic
#4F5211 #7F851C #B0B727 #D0D744 #DDE276

Accessibility & contrast

On white

2.18
#B0B727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#B0B727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B727
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B727#FFFFFF#000000##000000
##B0B7271.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C6B134
Tritanopia (blue-blind)
#BCAB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b0b727;
/* rgb */ color: rgb(176, 183, 39);
/* oklch */ color: oklch(75.0% 0.156 112.5);
Tailwind
colors: {
  custom: {
    50: '#cbcc6e',
    500: '#b0b727',
    950: '#000000',
  },
}
SCSS
$custom: #b0b727;
$custom-light: #cbcc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b727",
  "rgb": {
    "r": 176,
    "g": 183,
    "b": 39
  },
  "hsl": {
    "h": 62.917,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7497,
    "c": 0.15567,
    "h": 112.5
  },
  "luminance": 0.43244
}

Semantic roles & 50–950 ramp

primary
#B0B727
secondary
#7570C9
accent
#40E848
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B727

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

Preview Lab → · Contrast checker → · Palette generator →

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