#B8B062#B8B062

#B8B062 is a light, moderate yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.100 H 103.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B8B062
RGBrgb(184, 176, 98)
HSLhsl(54, 38%, 55%)
HSVhsv(54, 47%, 72%)
CMYKcmyk(0%, 4.3%, 46.7%, 27.8%)
CIE-LABlab(70.96, -8.10, 40.75)
CIE-LCHlch(70.96, 41.55, 101.24°)
OKLaboklab(74.68% -0.0232 0.0976)
OKLCHoklch(74.68% 0.1 103.4)
XYZxyz(37.4980, 42.1240, 17.7084)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B062 #626AB8
analogous
#B88562 #B8B062 #95B862
triadic
#B8B062 #62B8B0 #B062B8
tetradic
#B8B062 #62B885 #626AB8 #B86295
square
#B8B062 #62B885 #626AB8 #B86295
split-complementary
#B8B062 #6295B8 #8562B8
monochromatic
#6E6832 #989045 #B8B062 #CBC58C #DEDAB6

Accessibility & contrast

On white

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

On black

9.42
#B8B062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B062
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B062#FFFFFF#000000##000000
##B8B0621.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAB5B
Deuteranopia (green-blind)
#BFB065
Tritanopia (blue-blind)
#C3A79E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8b062;
/* rgb */ color: rgb(184, 176, 98);
/* oklch */ color: oklch(74.7% 0.100 103.4);
Tailwind
colors: {
  custom: {
    50: '#cfc790',
    500: '#b8b062',
    950: '#000000',
  },
}
SCSS
$custom: #b8b062;
$custom-light: #cfc790;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b062",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 98
  },
  "hsl": {
    "h": 54.419,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74681,
    "c": 0.10033,
    "h": 103.4
  },
  "luminance": 0.42123
}

Semantic roles & 50–950 ramp

primary
#B8B062
secondary
#A9ACCD
accent
#65CE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130D
muted
#82827D

Preview Lab

Preview with #B8B062

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

Preview Lab → · Contrast checker → · Palette generator →

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