#B7B638#B7B638

#B7B638 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.143 H 108.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B7B638
RGBrgb(183, 182, 56)
HSLhsl(60, 53%, 47%)
HSVhsv(60, 69%, 72%)
CMYKcmyk(0%, 0.5%, 69.4%, 28.2%)
CIE-LABlab(72.10, -14.76, 60.92)
CIE-LCHlch(72.10, 62.68, 103.62°)
OKLaboklab(75.44% -0.0466 0.1357)
OKLCHoklch(75.44% 0.143 108.9)
XYZxyz(36.9715, 43.8098, 10.2492)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B638 #3839B7
analogous
#B77738 #B7B638 #78B738
triadic
#B7B638 #38B7B6 #B638B7
tetradic
#B7B638 #38B777 #3839B7 #B73878
square
#B7B638 #38B777 #3839B7 #B73878
split-complementary
#B7B638 #3878B7 #7738B7
monochromatic
#59591B #88872A #B7B638 #CECD5E #DCDC8D

Accessibility & contrast

On white

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

On black

9.76
#B7B638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B638
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B638#FFFFFF#000000##000000
##B7B6381.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE24
Deuteranopia (green-blind)
#C6B341
Tritanopia (blue-blind)
#C4AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b638;
/* rgb */ color: rgb(183, 182, 56);
/* oklch */ color: oklch(75.4% 0.143 108.9);
Tailwind
colors: {
  custom: {
    50: '#d0cb77',
    500: '#b7b638',
    950: '#000000',
  },
}
SCSS
$custom: #b7b638;
$custom-light: #d0cb77;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b638",
  "rgb": {
    "r": 183,
    "g": 182,
    "b": 56
  },
  "hsl": {
    "h": 59.528,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75442,
    "c": 0.14346,
    "h": 108.9
  },
  "luminance": 0.43809
}

Semantic roles & 50–950 ramp

primary
#B7B638
secondary
#8485C7
accent
#4CDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B638

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

Preview Lab → · Contrast checker → · Palette generator →

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