#B8B72F#B8B72F

#B8B72F 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#B8B72F
RGBrgb(184, 183, 47)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 74%, 72%)
CMYKcmyk(0%, 0.5%, 74.5%, 27.8%)
CIE-LABlab(72.40, -15.26, 64.43)
CIE-LCHlch(72.40, 66.21, 103.33°)
OKLaboklab(75.69% -0.0489 0.1415)
OKLCHoklch(75.69% 0.15 109.1)
XYZxyz(37.2151, 44.2637, 9.2722)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B72F #2F30B8
analogous
#B8722F #B8B72F #74B82F
triadic
#B8B72F #2FB8B7 #B72FB8
tetradic
#B8B72F #2FB872 #2F30B8 #B82F74
square
#B8B72F #2FB872 #2F30B8 #B82F74
split-complementary
#B8B72F #2F74B8 #722FB8
monochromatic
#575616 #878723 #B8B72F #D3D252 #DFDE82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B72F#FFFFFF#000000##000000
##B8B72F1.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)
#C6AF10
Deuteranopia (green-blind)
#C8B43A
Tritanopia (blue-blind)
#C5AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b72f;
/* rgb */ color: rgb(184, 183, 47);
/* oklch */ color: oklch(75.7% 0.150 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1cc72',
    500: '#b8b72f',
    950: '#000000',
  },
}
SCSS
$custom: #b8b72f;
$custom-light: #d1cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b72f",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 59.562,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75687,
    "c": 0.14968,
    "h": 109.1
  },
  "luminance": 0.44263
}

Semantic roles & 50–950 ramp

primary
#B8B72F
secondary
#7B7BC8
accent
#46E245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B8B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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