#B8B02E#B8B02E

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

Color values

HEX#B8B02E
RGBrgb(184, 176, 46)
HSLhsl(57, 60%, 45%)
HSVhsv(57, 75%, 72%)
CMYKcmyk(0%, 4.3%, 75%, 27.8%)
CIE-LABlab(70.48, -11.72, 62.97)
CIE-LCHlch(70.48, 64.06, 100.54°)
OKLaboklab(74.15% -0.0391 0.1382)
OKLCHoklch(74.15% 0.144 105.8)
XYZxyz(35.7871, 41.4396, 8.6978)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B02E #2E36B8
analogous
#B86B2E #B8B02E #7BB82E
triadic
#B8B02E #2EB8B0 #B02EB8
tetradic
#B8B02E #2EB86B #2E36B8 #B82E7B
square
#B8B02E #2EB86B #2E36B8 #B82E7B
split-complementary
#B8B02E #2E7BB8 #6B2EB8
monochromatic
#565216 #878122 #B8B02E #D3CC50 #DFDA81

Accessibility & contrast

On white

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

On black

9.29
#B8B02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B02E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B02E#FFFFFF#000000##000000
##B8B02E1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b02e;
/* rgb */ color: rgb(184, 176, 46);
/* oklch */ color: oklch(74.2% 0.144 105.8);
Tailwind
colors: {
  custom: {
    50: '#d1c771',
    500: '#b8b02e',
    950: '#000000',
  },
}
SCSS
$custom: #b8b02e;
$custom-light: #d1c771;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b02e",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 56.522,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74153,
    "c": 0.14361,
    "h": 105.8
  },
  "luminance": 0.41438
}

Semantic roles & 50–950 ramp

primary
#B8B02E
secondary
#797EC8
accent
#4EE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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