#B7B652#B7B652

#B7B652 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.123 H 108.5°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B7B652
RGBrgb(183, 182, 82)
HSLhsl(59, 41%, 52%)
HSVhsv(59, 55%, 72%)
CMYKcmyk(0%, 0.5%, 55.2%, 28.2%)
CIE-LABlab(72.32, -13.05, 50.12)
CIE-LCHlch(72.32, 51.79, 104.59°)
OKLaboklab(75.68% -0.039 0.1166)
OKLCHoklch(75.68% 0.123 108.5)
XYZxyz(37.7804, 44.1334, 14.5094)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B652 #5253B7
analogous
#B78452 #B7B652 #86B752
triadic
#B7B652 #52B7B6 #B652B7
tetradic
#B7B652 #52B784 #5253B7 #B75286
square
#B7B652 #52B784 #5253B7 #B75286
split-complementary
#B7B652 #5286B7 #8452B7
monochromatic
#65642A #908F3C #B7B652 #C9C87D #DBDAA8

Accessibility & contrast

On white

2.14
#B7B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B7B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B652
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B652#FFFFFF#000000##000000
##B7B6521.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#C5B357
Tritanopia (blue-blind)
#C3ACA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b652;
/* rgb */ color: rgb(183, 182, 82);
/* oklch */ color: oklch(75.7% 0.123 108.5);
Tailwind
colors: {
  custom: {
    50: '#cfcb86',
    500: '#b7b652',
    950: '#000000',
  },
}
SCSS
$custom: #b7b652;
$custom-light: #cfcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b652",
  "rgb": {
    "r": 183,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 59.406,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75684,
    "c": 0.1229,
    "h": 108.5
  },
  "luminance": 0.44132
}

Semantic roles & 50–950 ramp

primary
#B7B652
secondary
#9C9DC9
accent
#58D157
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7B652

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

Preview Lab → · Contrast checker → · Palette generator →

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