#B8BD2F#B8BD2F

#B8BD2F is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.156 H 111.6°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#B8BD2F
RGBrgb(184, 189, 47)
HSLhsl(62, 60%, 46%)
HSVhsv(62, 75%, 74%)
CMYKcmyk(2.6%, 0%, 75.1%, 25.9%)
CIE-LABlab(74.06, -18.29, 65.97)
CIE-LCHlch(74.06, 68.45, 105.50°)
OKLaboklab(77.01% -0.0573 0.1447)
OKLCHoklch(77.01% 0.156 111.6)
XYZxyz(38.4792, 46.7918, 9.6935)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD2F #342FBD
analogous
#BD7B2F #B8BD2F #71BD2F
triadic
#B8BD2F #2FB8BD #BD2FB8
tetradic
#B8BD2F #2FBD7B #342FBD #BD2F71
square
#B8BD2F #2FBD7B #342FBD #BD2F71
split-complementary
#B8BD2F #2F71BD #7B2FBD
monochromatic
#595B17 #888C23 #B8BD2F #D0D555 #DEE186

Accessibility & contrast

On white

2.03
#B8BD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#B8BD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BD2F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BD2F#FFFFFF#000000##000000
##B8BD2F1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB40C
Deuteranopia (green-blind)
#CDB83B
Tritanopia (blue-blind)
#C5B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bd2f;
/* rgb */ color: rgb(184, 189, 47);
/* oklch */ color: oklch(77.0% 0.156 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1d073',
    500: '#b8bd2f',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd2f;
$custom-light: #d1d073;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd2f",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 47
  },
  "hsl": {
    "h": 62.113,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77008,
    "c": 0.15567,
    "h": 111.6
  },
  "luminance": 0.46791
}

Semantic roles & 50–950 ramp

primary
#B8BD2F
secondary
#807ECA
accent
#44E34A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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