#B7BF30#B7BF30

#B7BF30 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.4% C 0.157 H 112.8°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#B7BF30
RGBrgb(183, 191, 48)
HSLhsl(63, 60%, 47%)
HSVhsv(63, 75%, 75%)
CMYKcmyk(4.2%, 0%, 74.9%, 25.1%)
CIE-LABlab(74.54, -19.67, 66.06)
CIE-LCHlch(74.54, 68.93, 106.58°)
OKLaboklab(77.37% -0.061 0.1452)
OKLCHoklch(77.37% 0.157 112.8)
XYZxyz(38.6940, 47.5432, 9.9342)
Luminance0.4754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF30 #3830BF
analogous
#BF8030 #B7BF30 #6FBF30
triadic
#B7BF30 #30B7BF #BF30B7
tetradic
#B7BF30 #30BF80 #3830BF #BF306F
square
#B7BF30 #30BF80 #3830BF #BF306F
split-complementary
#B7BF30 #306FBF #8030BF
monochromatic
#595D17 #888E24 #B7BF30 #CED557 #DCE188

Accessibility & contrast

On white

2.00
#B7BF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#B7BF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF30
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF30#FFFFFF#000000##000000
##B7BF301.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60D
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#C4B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7bf30;
/* rgb */ color: rgb(183, 191, 48);
/* oklch */ color: oklch(77.4% 0.157 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d274',
    500: '#b7bf30',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf30;
$custom-light: #d0d274;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf30",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 63.357,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77374,
    "c": 0.15746,
    "h": 112.8
  },
  "luminance": 0.47542
}

Semantic roles & 50–950 ramp

primary
#B7BF30
secondary
#8480CB
accent
#45E34E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BF30

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

Preview Lab → · Contrast checker → · Palette generator →

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