#B8CB4F#B8CB4F

#B8CB4F is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.4% C 0.149 H 117.3°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#B8CB4F
RGBrgb(184, 203, 79)
HSLhsl(69, 54%, 55%)
HSVhsv(69, 61%, 80%)
CMYKcmyk(9.4%, 0%, 61.1%, 20.4%)
CIE-LABlab(78.15, -23.37, 57.95)
CIE-LCHlch(78.15, 62.49, 111.96°)
OKLaboklab(80.36% -0.0685 0.1329)
OKLCHoklch(80.36% 0.149 117.3)
XYZxyz(42.5352, 53.4672, 15.4751)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CB4F #624FCB
analogous
#CBA04F #B8CB4F #7ACB4F
triadic
#B8CB4F #4FB8CB #CB4FB8
tetradic
#B8CB4F #4FCBA0 #624FCB #CB4F7A
square
#B8CB4F #4FCBA0 #624FCB #CB4F7A
split-complementary
#B8CB4F #4F7ACB #A04FCB
monochromatic
#6E7B24 #98AA32 #B8CB4F #CBD97E #DEE7AD

Accessibility & contrast

On white

1.80
#B8CB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#B8CB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CB4F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CB4F#FFFFFF#000000##000000
##B8CB4F1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C140
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#C2C0B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b8cb4f;
/* rgb */ color: rgb(184, 203, 79);
/* oklch */ color: oklch(80.4% 0.149 117.3);
Tailwind
colors: {
  custom: {
    50: '#d0da85',
    500: '#b8cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #b8cb4f;
$custom-light: #d0da85;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cb4f",
  "rgb": {
    "r": 184,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 69.194,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80359,
    "c": 0.14947,
    "h": 117.3
  },
  "luminance": 0.53467
}

Semantic roles & 50–950 ramp

primary
#B8CB4F
secondary
#463B83
accent
#4ADE61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B8CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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