#B7B630#B7B630

#B7B630 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.4% C 0.148 H 109.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#B7B630
RGBrgb(183, 182, 48)
HSLhsl(60, 58%, 45%)
HSVhsv(60, 74%, 72%)
CMYKcmyk(0%, 0.5%, 73.8%, 28.2%)
CIE-LABlab(72.05, -15.14, 63.74)
CIE-LCHlch(72.05, 65.51, 103.37°)
OKLaboklab(75.39% -0.0484 0.1402)
OKLCHoklch(75.39% 0.148 109.1)
XYZxyz(36.7913, 43.7377, 9.2999)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B630 #3031B7
analogous
#B77330 #B7B630 #74B730
triadic
#B7B630 #30B7B6 #B630B7
tetradic
#B7B630 #30B773 #3031B7 #B73074
square
#B7B630 #30B773 #3031B7 #B73074
split-complementary
#B7B630 #3074B7 #7330B7
monochromatic
#565617 #878623 #B7B630 #D2D152 #DEDE83

Accessibility & contrast

On white

2.15
#B7B630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#B7B630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B630
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B630#FFFFFF#000000##000000
##B7B6301.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE13
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#C4AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b630;
/* rgb */ color: rgb(183, 182, 48);
/* oklch */ color: oklch(75.4% 0.148 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0cb73',
    500: '#b7b630',
    950: '#000000',
  },
}
SCSS
$custom: #b7b630;
$custom-light: #d0cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b630",
  "rgb": {
    "r": 183,
    "g": 182,
    "b": 48
  },
  "hsl": {
    "h": 59.556,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75388,
    "c": 0.14834,
    "h": 109.1
  },
  "luminance": 0.43737
}

Semantic roles & 50–950 ramp

primary
#B7B630
secondary
#7B7CC8
accent
#47E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B630

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

Preview Lab → · Contrast checker → · Palette generator →

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