#B7B062#B7B062

#B7B062 is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.100 H 104.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B7B062
RGBrgb(183, 176, 98)
HSLhsl(55, 37%, 55%)
HSVhsv(55, 46%, 72%)
CMYKcmyk(0%, 3.8%, 46.4%, 28.2%)
CIE-LABlab(70.87, -8.51, 40.63)
CIE-LCHlch(70.87, 41.51, 101.83°)
OKLaboklab(74.59% -0.0243 0.0974)
OKLCHoklch(74.59% 0.1 104)
XYZxyz(37.2592, 42.0009, 17.6972)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B062 #6269B7
analogous
#B78662 #B7B062 #93B762
triadic
#B7B062 #62B7B0 #B062B7
tetradic
#B7B062 #62B786 #6269B7 #B76293
square
#B7B062 #62B786 #6269B7 #B76293
split-complementary
#B7B062 #6293B7 #8662B7
monochromatic
#6D6832 #979045 #B7B062 #CAC58C #DDDAB6

Accessibility & contrast

On white

2.23
#B7B062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B7B062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B062
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B062#FFFFFF#000000##000000
##B7B0621.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAB5B
Deuteranopia (green-blind)
#BFAF65
Tritanopia (blue-blind)
#C2A79D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b7b062;
/* rgb */ color: rgb(183, 176, 98);
/* oklch */ color: oklch(74.6% 0.100 104.0);
Tailwind
colors: {
  custom: {
    50: '#cec790',
    500: '#b7b062',
    950: '#000000',
  },
}
SCSS
$custom: #b7b062;
$custom-light: #cec790;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b062",
  "rgb": {
    "r": 183,
    "g": 176,
    "b": 98
  },
  "hsl": {
    "h": 55.059,
    "s": 37.118,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74594,
    "c": 0.10035,
    "h": 104
  },
  "luminance": 0.42
}

Semantic roles & 50–950 ramp

primary
#B7B062
secondary
#A9ACCC
accent
#64CD5B
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130D
muted
#82827D

Preview Lab

Preview with #B7B062

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

Preview Lab → · Contrast checker → · Palette generator →

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