#B7B62D#B7B62D

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

Color values

HEX#B7B62D
RGBrgb(183, 182, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 75%, 72%)
CMYKcmyk(0%, 0.5%, 75.4%, 28.2%)
CIE-LABlab(72.04, -15.27, 64.72)
CIE-LCHlch(72.04, 66.49, 103.28°)
OKLaboklab(75.37% -0.049 0.1417)
OKLCHoklch(75.37% 0.15 109.1)
XYZxyz(36.7314, 43.7138, 8.9848)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B62D #2D2EB7
analogous
#B7712D #B7B62D #73B72D
triadic
#B7B62D #2DB7B6 #B62DB7
tetradic
#B7B62D #2DB771 #2D2EB7 #B72D73
square
#B7B62D #2DB771 #2D2EB7 #B72D73
split-complementary
#B7B62D #2D73B7 #712DB7
monochromatic
#555415 #868521 #B7B62D #D3D24E #DFDF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B62D#FFFFFF#000000##000000
##B7B62D1.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)
#C5AE0B
Deuteranopia (green-blind)
#C7B338
Tritanopia (blue-blind)
#C4AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b62d;
/* rgb */ color: rgb(183, 182, 45);
/* oklch */ color: oklch(75.4% 0.150 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0cb71',
    500: '#b7b62d',
    950: '#000000',
  },
}
SCSS
$custom: #b7b62d;
$custom-light: #d0cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b62d",
  "rgb": {
    "r": 183,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 59.565,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7537,
    "c": 0.14999,
    "h": 109.1
  },
  "luminance": 0.43713
}

Semantic roles & 50–950 ramp

primary
#B7B62D
secondary
#7878C8
accent
#45E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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