#B8C339#B8C339

#B8C339 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.4% C 0.156 H 114.0°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#B8C339
RGBrgb(184, 195, 57)
HSLhsl(65, 55%, 49%)
HSVhsv(65, 71%, 76%)
CMYKcmyk(5.6%, 0%, 70.8%, 23.5%)
CIE-LABlab(75.77, -20.80, 64.19)
CIE-LCHlch(75.77, 67.47, 107.96°)
OKLaboklab(78.4% -0.0634 0.1427)
OKLCHoklch(78.4% 0.156 114)
XYZxyz(40.0219, 49.5168, 11.3195)
Luminance0.4952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C339 #4439C3
analogous
#C38939 #B8C339 #73C339
triadic
#B8C339 #39B8C3 #C339B8
tetradic
#B8C339 #39C389 #4439C3 #C33973
square
#B8C339 #39C389 #4439C3 #C33973
split-complementary
#B8C339 #3973C3 #8939C3
monochromatic
#5F641D #8B942B #B8C339 #CAD267 #DAE096

Accessibility & contrast

On white

1.93
#B8C339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#B8C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C339
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C339#FFFFFF#000000##000000
##B8C3391.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B921
Deuteranopia (green-blind)
#D1BC44
Tritanopia (blue-blind)
#C4B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b8c339;
/* rgb */ color: rgb(184, 195, 57);
/* oklch */ color: oklch(78.4% 0.156 114.0);
Tailwind
colors: {
  custom: {
    50: '#d1d578',
    500: '#b8c339',
    950: '#000000',
  },
}
SCSS
$custom: #b8c339;
$custom-light: #d1d578;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c339",
  "rgb": {
    "r": 184,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 64.783,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78399,
    "c": 0.15618,
    "h": 114
  },
  "luminance": 0.49516
}

Semantic roles & 50–950 ramp

primary
#B8C339
secondary
#918CCC
accent
#4ADE56
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#14140A
muted
#83837C

Preview Lab

Preview with #B8C339

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

Preview Lab → · Contrast checker → · Palette generator →

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