#B7CB4A#B7CB4A

#B7CB4A is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.2% C 0.154 H 117.5°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#B7CB4A
RGBrgb(183, 203, 74)
HSLhsl(69, 55%, 54%)
HSVhsv(69, 64%, 80%)
CMYKcmyk(9.9%, 0%, 63.5%, 20.4%)
CIE-LABlab(78.04, -24.13, 59.90)
CIE-LCHlch(78.04, 64.58, 111.94°)
OKLaboklab(80.24% -0.071 0.1363)
OKLCHoklch(80.24% 0.154 117.5)
XYZxyz(42.1212, 53.2740, 14.5412)
Luminance0.5327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CB4A #5E4ACB
analogous
#CB9E4A #B7CB4A #77CB4A
triadic
#B7CB4A #4AB7CB #CB4AB7
tetradic
#B7CB4A #4ACB9E #5E4ACB #CB4A77
square
#B7CB4A #4ACB9E #5E4ACB #CB4A77
split-complementary
#B7CB4A #4A77CB #9E4ACB
monochromatic
#6B7823 #95A830 #B7CB4A #CAD97A #DDE6A9

Accessibility & contrast

On white

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

On black

11.65
#B7CB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CB4A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CB4A#FFFFFF#000000##000000
##B7CB4A1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C139
Deuteranopia (green-blind)
#D6C253
Tritanopia (blue-blind)
#C2C0B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7cb4a;
/* rgb */ color: rgb(183, 203, 74);
/* oklch */ color: oklch(80.2% 0.154 117.5);
Tailwind
colors: {
  custom: {
    50: '#cfda83',
    500: '#b7cb4a',
    950: '#000000',
  },
}
SCSS
$custom: #b7cb4a;
$custom-light: #cfda83;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cb4a",
  "rgb": {
    "r": 183,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 69.302,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80236,
    "c": 0.15372,
    "h": 117.5
  },
  "luminance": 0.53274
}

Semantic roles & 50–950 ramp

primary
#B7CB4A
secondary
#443980
accent
#49DF60
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7CB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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