#B7BC30#B7BC30

#B7BC30 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.154 H 111.6°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#B7BC30
RGBrgb(183, 188, 48)
HSLhsl(62, 59%, 46%)
HSVhsv(62, 74%, 74%)
CMYKcmyk(2.7%, 0%, 74.5%, 26.3%)
CIE-LABlab(73.71, -18.17, 65.29)
CIE-LCHlch(73.71, 67.77, 105.55°)
OKLaboklab(76.71% -0.0569 0.1435)
OKLCHoklch(76.71% 0.154 111.6)
XYZxyz(38.0464, 46.2481, 9.7183)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC30 #3530BC
analogous
#BC7B30 #B7BC30 #71BC30
triadic
#B7BC30 #30B7BC #BC30B7
tetradic
#B7BC30 #30BC7B #3530BC #BC3071
square
#B7BC30 #30BC7B #3530BC #BC3071
split-complementary
#B7BC30 #3071BC #7B30BC
monochromatic
#585A17 #888B24 #B7BC30 #CFD455 #DDE086

Accessibility & contrast

On white

2.05
#B7BC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#B7BC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC30
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC30#FFFFFF#000000##000000
##B7BC301.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB310
Deuteranopia (green-blind)
#CBB73C
Tritanopia (blue-blind)
#C4B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bc30;
/* rgb */ color: rgb(183, 188, 48);
/* oklch */ color: oklch(76.7% 0.154 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0cf73',
    500: '#b7bc30',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc30;
$custom-light: #d0cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc30",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 48
  },
  "hsl": {
    "h": 62.143,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7671,
    "c": 0.15437,
    "h": 111.6
  },
  "luminance": 0.46247
}

Semantic roles & 50–950 ramp

primary
#B7BC30
secondary
#817ECA
accent
#45E34B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BC30

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

Preview Lab → · Contrast checker → · Palette generator →

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