#B7B631#B7B631

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

Color values

HEX#B7B631
RGBrgb(183, 182, 49)
HSLhsl(60, 58%, 45%)
HSVhsv(60, 73%, 72%)
CMYKcmyk(0%, 0.5%, 73.2%, 28.2%)
CIE-LABlab(72.06, -15.10, 63.40)
CIE-LCHlch(72.06, 65.17, 103.40°)
OKLaboklab(75.39% -0.0482 0.1397)
OKLCHoklch(75.39% 0.148 109)
XYZxyz(36.8121, 43.7461, 9.4098)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B631 #3132B7
analogous
#B77331 #B7B631 #75B731
triadic
#B7B631 #31B7B6 #B631B7
tetradic
#B7B631 #31B773 #3132B7 #B73175
square
#B7B631 #31B773 #3132B7 #B73175
split-complementary
#B7B631 #3175B7 #7331B7
monochromatic
#565617 #878624 #B7B631 #D1D054 #DEDD84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B631#FFFFFF#000000##000000
##B7B6311.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)
#C5AE16
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#C4AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b631;
/* rgb */ color: rgb(183, 182, 49);
/* oklch */ color: oklch(75.4% 0.148 109.0);
Tailwind
colors: {
  custom: {
    50: '#d0cb73',
    500: '#b7b631',
    950: '#000000',
  },
}
SCSS
$custom: #b7b631;
$custom-light: #d0cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b631",
  "rgb": {
    "r": 183,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 59.552,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75394,
    "c": 0.14777,
    "h": 109
  },
  "luminance": 0.43745
}

Semantic roles & 50–950 ramp

primary
#B7B631
secondary
#7C7DC8
accent
#48E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B631

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

Preview Lab → · Contrast checker → · Palette generator →

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