#B8B03C#B8B03C

#B8B03C is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.3% C 0.135 H 105.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B8B03C
RGBrgb(184, 176, 60)
HSLhsl(56, 51%, 48%)
HSVhsv(56, 67%, 72%)
CMYKcmyk(0%, 4.3%, 67.4%, 27.8%)
CIE-LABlab(70.57, -11.03, 57.85)
CIE-LCHlch(70.57, 58.89, 100.79°)
OKLaboklab(74.25% -0.0357 0.1299)
OKLCHoklch(74.25% 0.135 105.4)
XYZxyz(36.1095, 41.5686, 10.3955)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B03C #3C44B8
analogous
#B8723C #B8B03C #82B83C
triadic
#B8B03C #3CB8B0 #B03CB8
tetradic
#B8B03C #3CB872 #3C44B8 #B83C82
square
#B8B03C #3CB872 #3C44B8 #B83C82
split-complementary
#B8B03C #3C82B8 #723CB8
monochromatic
#5C581E #8A842D #B8B03C #CDC665 #DCD793

Accessibility & contrast

On white

2.25
#B8B03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#B8B03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B03C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B03C#FFFFFF#000000##000000
##B8B03C1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2C
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#C5A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b03c;
/* rgb */ color: rgb(184, 176, 60);
/* oklch */ color: oklch(74.3% 0.135 105.4);
Tailwind
colors: {
  custom: {
    50: '#d1c778',
    500: '#b8b03c',
    950: '#000000',
  },
}
SCSS
$custom: #b8b03c;
$custom-light: #d1c778;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b03c",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 56.129,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74252,
    "c": 0.13469,
    "h": 105.4
  },
  "luminance": 0.41567
}

Semantic roles & 50–950 ramp

primary
#B8B03C
secondary
#898DC7
accent
#57DA4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B03C

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

Preview Lab → · Contrast checker → · Palette generator →

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