#B7B62E#B7B62E

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

Color values

HEX#B7B62E
RGBrgb(183, 182, 46)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 72%)
CMYKcmyk(0%, 0.5%, 74.9%, 28.2%)
CIE-LABlab(72.04, -15.23, 64.39)
CIE-LCHlch(72.04, 66.17, 103.31°)
OKLaboklab(75.38% -0.0488 0.1412)
OKLCHoklch(75.38% 0.149 109.1)
XYZxyz(36.7509, 43.7216, 9.0874)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B62E #2E2FB7
analogous
#B7722E #B7B62E #74B72E
triadic
#B7B62E #2EB7B6 #B62EB7
tetradic
#B7B62E #2EB772 #2E2FB7 #B72E74
square
#B7B62E #2EB772 #2E2FB7 #B72E74
split-complementary
#B7B62E #2E74B7 #722EB7
monochromatic
#555515 #868522 #B7B62E #D3D24F #DFDE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B62E#FFFFFF#000000##000000
##B7B62E1.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)
#C5AE0E
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#C4AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b62e;
/* rgb */ color: rgb(183, 182, 46);
/* oklch */ color: oklch(75.4% 0.149 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0cb72',
    500: '#b7b62e',
    950: '#000000',
  },
}
SCSS
$custom: #b7b62e;
$custom-light: #d0cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b62e",
  "rgb": {
    "r": 183,
    "g": 182,
    "b": 46
  },
  "hsl": {
    "h": 59.562,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75376,
    "c": 0.14946,
    "h": 109.1
  },
  "luminance": 0.4372
}

Semantic roles & 50–950 ramp

primary
#B7B62E
secondary
#7979C8
accent
#46E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B62E

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

Preview Lab → · Contrast checker → · Palette generator →

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