#B8CD2F#B8CD2F

#B8CD2F is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.6% C 0.173 H 117.3°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#B8CD2F
RGBrgb(184, 205, 47)
HSLhsl(68, 63%, 49%)
HSVhsv(68, 77%, 80%)
CMYKcmyk(10.2%, 0%, 77.1%, 19.6%)
CIE-LABlab(78.50, -26.13, 70.05)
CIE-LCHlch(78.50, 74.76, 110.46°)
OKLaboklab(80.57% -0.079 0.1534)
OKLCHoklch(80.57% 0.173 117.3)
XYZxyz(42.1126, 54.0587, 10.9047)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CD2F #442FCD
analogous
#CD932F #B8CD2F #69CD2F
triadic
#B8CD2F #2FB8CD #CD2FB8
tetradic
#B8CD2F #2FCD93 #442FCD #CD2F69
square
#B8CD2F #2FCD93 #442FCD #CD2F69
split-complementary
#B8CD2F #2F69CD #932FCD
monochromatic
#5F6918 #8B9B24 #B8CD2F #CADA5F #DAE691

Accessibility & contrast

On white

1.78
#B8CD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#B8CD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CD2F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CD2F#FFFFFF#000000##000000
##B8CD2F1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#D9C33E
Tritanopia (blue-blind)
#C4C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b8cd2f;
/* rgb */ color: rgb(184, 205, 47);
/* oklch */ color: oklch(80.6% 0.173 117.3);
Tailwind
colors: {
  custom: {
    50: '#d1dc75',
    500: '#b8cd2f',
    950: '#000000',
  },
}
SCSS
$custom: #b8cd2f;
$custom-light: #d1dc75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cd2f",
  "rgb": {
    "r": 184,
    "g": 205,
    "b": 47
  },
  "hsl": {
    "h": 67.975,
    "s": 62.698,
    "l": 49.412
  },
  "oklch": {
    "l": 0.80569,
    "c": 0.17256,
    "h": 117.3
  },
  "luminance": 0.54058
}

Semantic roles & 50–950 ramp

primary
#B8CD2F
secondary
#362D73
accent
#42E658
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B8CD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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