#B8B72E#B8B72E

#B8B72E is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.150 H 109.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B8B72E
RGBrgb(184, 183, 46)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 72%)
CMYKcmyk(0%, 0.5%, 75%, 27.8%)
CIE-LABlab(72.40, -15.31, 64.76)
CIE-LCHlch(72.40, 66.54, 103.30°)
OKLaboklab(75.68% -0.0491 0.142)
OKLCHoklch(75.68% 0.15 109.1)
XYZxyz(37.1952, 44.2557, 9.1671)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B72E #2E2FB8
analogous
#B8722E #B8B72E #74B82E
triadic
#B8B72E #2EB8B7 #B72EB8
tetradic
#B8B72E #2EB872 #2E2FB8 #B82E74
square
#B8B72E #2EB872 #2E2FB8 #B82E74
split-complementary
#B8B72E #2E74B8 #722EB8
monochromatic
#565616 #878622 #B8B72E #D3D250 #DFDF81

Accessibility & contrast

On white

2.13
#B8B72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B8B72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B72E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B72E#FFFFFF#000000##000000
##B8B72E1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0D
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#C5AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b72e;
/* rgb */ color: rgb(184, 183, 46);
/* oklch */ color: oklch(75.7% 0.150 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1cc72',
    500: '#b8b72e',
    950: '#000000',
  },
}
SCSS
$custom: #b8b72e;
$custom-light: #d1cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b72e",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 59.565,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75681,
    "c": 0.15023,
    "h": 109.1
  },
  "luminance": 0.44255
}

Semantic roles & 50–950 ramp

primary
#B8B72E
secondary
#797AC8
accent
#46E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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