#B8B83F#B8B83F

#B8B83F is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.0% C 0.140 H 109.3°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#B8B83F
RGBrgb(184, 184, 63)
HSLhsl(60, 49%, 48%)
HSVhsv(60, 66%, 72%)
CMYKcmyk(0%, 0%, 65.8%, 27.8%)
CIE-LABlab(72.78, -14.96, 58.91)
CIE-LCHlch(72.78, 60.78, 104.25°)
OKLaboklab(76.02% -0.0465 0.1326)
OKLCHoklch(76.02% 0.14 109.3)
XYZxyz(37.8061, 44.8313, 11.3635)
Luminance0.4483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B83F #3F3FB8
analogous
#B87B3F #B8B83F #7BB83F
triadic
#B8B83F #3FB8B8 #B83FB8
tetradic
#B8B83F #3FB87B #3F3FB8 #B83F7B
square
#B8B83F #3FB87B #3F3FB8 #B83F7B
split-complementary
#B8B83F #3F7BB8 #7B3FB8
monochromatic
#5D5D20 #8A8A2F #B8B83F #CCCC69 #DBDB96

Accessibility & contrast

On white

2.11
#B8B83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#B8B83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B83F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B83F#FFFFFF#000000##000000
##B8B83F1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02E
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#C5AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8b83f;
/* rgb */ color: rgb(184, 184, 63);
/* oklch */ color: oklch(76.0% 0.140 109.3);
Tailwind
colors: {
  custom: {
    50: '#d0cd7b',
    500: '#b8b83f',
    950: '#000000',
  },
}
SCSS
$custom: #b8b83f;
$custom-light: #d0cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b83f",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7602,
    "c": 0.14049,
    "h": 109.3
  },
  "luminance": 0.4483
}

Semantic roles & 50–950 ramp

primary
#B8B83F
secondary
#8C8CC7
accent
#4FD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B83F

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

Preview Lab → · Contrast checker → · Palette generator →

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