#B7B62C#B7B62C

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

Color values

HEX#B7B62C
RGBrgb(183, 182, 44)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 72%)
CMYKcmyk(0%, 0.5%, 76%, 28.2%)
CIE-LABlab(72.03, -15.31, 65.03)
CIE-LCHlch(72.03, 66.81, 103.25°)
OKLaboklab(75.36% -0.0492 0.1422)
OKLCHoklch(75.36% 0.151 109.1)
XYZxyz(36.7124, 43.7062, 8.8846)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B62C #2C2DB7
analogous
#B7702C #B7B62C #73B72C
triadic
#B7B62C #2CB7B6 #B62CB7
tetradic
#B7B62C #2CB770 #2C2DB7 #B72C73
square
#B7B62C #2CB770 #2C2DB7 #B72C73
split-complementary
#B7B62C #2C73B7 #702CB7
monochromatic
#545414 #868520 #B7B62C #D4D34C #E0DF7E

Accessibility & contrast

On white

2.16
#B7B62C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#B7B62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B62C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B62C#FFFFFF#000000##000000
##B7B62C1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7b62c;
/* rgb */ color: rgb(183, 182, 44);
/* oklch */ color: oklch(75.4% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0cb71',
    500: '#b7b62c',
    950: '#000000',
  },
}
SCSS
$custom: #b7b62c;
$custom-light: #d0cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b62c",
  "rgb": {
    "r": 183,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 59.568,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75364,
    "c": 0.15053,
    "h": 109.1
  },
  "luminance": 0.43705
}

Semantic roles & 50–950 ramp

primary
#B7B62C
secondary
#7677C8
accent
#45E443
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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