#B0B627#B0B627

#B0B627 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.7% C 0.155 H 112.1°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#B0B627
RGBrgb(176, 182, 39)
HSLhsl(63, 65%, 43%)
HSVhsv(63, 79%, 71%)
CMYKcmyk(3.3%, 0%, 78.6%, 28.6%)
CIE-LABlab(71.44, -18.52, 65.81)
CIE-LCHlch(71.44, 68.37, 105.72°)
OKLaboklab(74.75% -0.0582 0.1433)
OKLCHoklch(74.75% 0.155 112.1)
XYZxyz(34.9999, 42.8334, 8.3430)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B627 #2D27B6
analogous
#B67427 #B0B627 #69B627
triadic
#B0B627 #27B0B6 #B627B0
tetradic
#B0B627 #27B674 #2D27B6 #B62769
square
#B0B627 #27B674 #2D27B6 #B62769
split-complementary
#B0B627 #2769B6 #7427B6
monochromatic
#4F5111 #7F841C #B0B627 #D1D743 #DDE276

Accessibility & contrast

On white

2.20
#B0B627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#B0B627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B627
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B627#FFFFFF#000000##000000
##B0B6271.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C5B134
Tritanopia (blue-blind)
#BCAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b0b627;
/* rgb */ color: rgb(176, 182, 39);
/* oklch */ color: oklch(74.7% 0.155 112.1);
Tailwind
colors: {
  custom: {
    50: '#cbcb6e',
    500: '#b0b627',
    950: '#000000',
  },
}
SCSS
$custom: #b0b627;
$custom-light: #cbcb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b627",
  "rgb": {
    "r": 176,
    "g": 182,
    "b": 39
  },
  "hsl": {
    "h": 62.517,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74746,
    "c": 0.15465,
    "h": 112.1
  },
  "luminance": 0.42832
}

Semantic roles & 50–950 ramp

primary
#B0B627
secondary
#7370C9
accent
#40E847
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B627

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

Preview Lab → · Contrast checker → · Palette generator →

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