#B7CB4F#B7CB4F

#B7CB4F is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.3% C 0.150 H 117.7°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#B7CB4F
RGBrgb(183, 203, 79)
HSLhsl(70, 54%, 55%)
HSVhsv(70, 61%, 80%)
CMYKcmyk(9.9%, 0%, 61.1%, 20.4%)
CIE-LABlab(78.08, -23.78, 57.86)
CIE-LCHlch(78.08, 62.55, 112.34°)
OKLaboklab(80.28% -0.0695 0.1327)
OKLCHoklch(80.28% 0.15 117.7)
XYZxyz(42.2964, 53.3441, 15.4639)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CB4F #634FCB
analogous
#CBA14F #B7CB4F #79CB4F
triadic
#B7CB4F #4FB7CB #CB4FB7
tetradic
#B7CB4F #4FCBA1 #634FCB #CB4F79
square
#B7CB4F #4FCBA1 #634FCB #CB4F79
split-complementary
#B7CB4F #4F79CB #A14FCB
monochromatic
#6D7B24 #97AA32 #B7CB4F #CAD97E #DEE7AD

Accessibility & contrast

On white

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

On black

11.67
#B7CB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CB4F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CB4F#FFFFFF#000000##000000
##B7CB4F1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7cb4f;
/* rgb */ color: rgb(183, 203, 79);
/* oklch */ color: oklch(80.3% 0.150 117.7);
Tailwind
colors: {
  custom: {
    50: '#cfda85',
    500: '#b7cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #b7cb4f;
$custom-light: #cfda85;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cb4f",
  "rgb": {
    "r": 183,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 69.677,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80282,
    "c": 0.14979,
    "h": 117.7
  },
  "luminance": 0.53344
}

Semantic roles & 50–950 ramp

primary
#B7CB4F
secondary
#473B83
accent
#4ADE62
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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