#B7BA30#B7BA30

#B7BA30 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.152 H 110.8°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#B7BA30
RGBrgb(183, 186, 48)
HSLhsl(61, 59%, 46%)
HSVhsv(61, 74%, 73%)
CMYKcmyk(1.6%, 0%, 74.2%, 27.1%)
CIE-LABlab(73.15, -17.17, 64.77)
CIE-LCHlch(73.15, 67.01, 104.85°)
OKLaboklab(76.27% -0.0541 0.1424)
OKLCHoklch(76.27% 0.152 110.8)
XYZxyz(37.6222, 45.3995, 9.5769)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA30 #3330BA
analogous
#BA7830 #B7BA30 #72BA30
triadic
#B7BA30 #30B7BA #BA30B7
tetradic
#B7BA30 #30BA78 #3330BA #BA3072
square
#B7BA30 #30BA78 #3330BA #BA3072
split-complementary
#B7BA30 #3072BA #7830BA
monochromatic
#575917 #878923 #B7BA30 #D0D354 #DEDF85

Accessibility & contrast

On white

2.08
#B7BA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#B7BA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA30
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA30#FFFFFF#000000##000000
##B7BA301.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B211
Deuteranopia (green-blind)
#CAB53B
Tritanopia (blue-blind)
#C4AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba30;
/* rgb */ color: rgb(183, 186, 48);
/* oklch */ color: oklch(76.3% 0.152 110.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce73',
    500: '#b7ba30',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba30;
$custom-light: #d0ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba30",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 61.304,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76268,
    "c": 0.15233,
    "h": 110.8
  },
  "luminance": 0.45398
}

Semantic roles & 50–950 ramp

primary
#B7BA30
secondary
#7F7DC9
accent
#46E249
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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