#B8B02C#B8B02C

#B8B02C is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.145 H 105.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B8B02C
RGBrgb(184, 176, 44)
HSLhsl(57, 61%, 45%)
HSVhsv(57, 76%, 72%)
CMYKcmyk(0%, 4.3%, 76.1%, 27.8%)
CIE-LABlab(70.47, -11.81, 63.63)
CIE-LCHlch(70.47, 64.72, 100.51°)
OKLaboklab(74.14% -0.0395 0.1392)
OKLCHoklch(74.14% 0.145 105.8)
XYZxyz(35.7486, 41.4242, 8.4950)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B02C #2C34B8
analogous
#B86A2C #B8B02C #7AB82C
triadic
#B8B02C #2CB8B0 #B02CB8
tetradic
#B8B02C #2CB86A #2C34B8 #B82C7A
square
#B8B02C #2CB86A #2C34B8 #B82C7A
split-complementary
#B8B02C #2C7AB8 #6A2CB8
monochromatic
#555214 #878120 #B8B02C #D4CD4D #E0DB7E

Accessibility & contrast

On white

2.26
#B8B02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#B8B02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B02C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B02C#FFFFFF#000000##000000
##B8B02C1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A90C
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#C6A497
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8b02c;
/* rgb */ color: rgb(184, 176, 44);
/* oklch */ color: oklch(74.1% 0.145 105.8);
Tailwind
colors: {
  custom: {
    50: '#d1c770',
    500: '#b8b02c',
    950: '#000000',
  },
}
SCSS
$custom: #b8b02c;
$custom-light: #d1c770;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b02c",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 44
  },
  "hsl": {
    "h": 56.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74141,
    "c": 0.14471,
    "h": 105.8
  },
  "luminance": 0.41423
}

Semantic roles & 50–950 ramp

primary
#B8B02C
secondary
#777CC9
accent
#4DE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B02C

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

Preview Lab → · Contrast checker → · Palette generator →

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