#B7CB3B#B7CB3B

#B7CB3B is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.1% C 0.164 H 117.2°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#B7CB3B
RGBrgb(183, 203, 59)
HSLhsl(68, 58%, 51%)
HSVhsv(68, 71%, 80%)
CMYKcmyk(9.9%, 0%, 70.9%, 20.4%)
CIE-LABlab(77.93, -25.02, 65.56)
CIE-LCHlch(77.93, 70.17, 110.89°)
OKLaboklab(80.12% -0.0749 0.146)
OKLCHoklch(80.12% 0.164 117.2)
XYZxyz(41.6748, 53.0954, 12.1898)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CB3B #4F3BCB
analogous
#CB973B #B7CB3B #6FCB3B
triadic
#B7CB3B #3BB7CB #CB3BB7
tetradic
#B7CB3B #3BCB97 #4F3BCB #CB3B6F
square
#B7CB3B #3BCB97 #4F3BCB #CB3B6F
split-complementary
#B7CB3B #3B6FCB #973BCB
monochromatic
#636E1D #8F9F2A #B7CB3B #C9D86B #DBE59C

Accessibility & contrast

On white

1.81
#B7CB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#B7CB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CB3B
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CB3B#FFFFFF#000000##000000
##B7CB3B1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C021
Deuteranopia (green-blind)
#D7C147
Tritanopia (blue-blind)
#C2C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7cb3b;
/* rgb */ color: rgb(183, 203, 59);
/* oklch */ color: oklch(80.1% 0.164 117.2);
Tailwind
colors: {
  custom: {
    50: '#d0da7a',
    500: '#b7cb3b',
    950: '#000000',
  },
}
SCSS
$custom: #b7cb3b;
$custom-light: #d0da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cb3b",
  "rgb": {
    "r": 183,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 68.333,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80118,
    "c": 0.16407,
    "h": 117.2
  },
  "luminance": 0.53095
}

Semantic roles & 50–950 ramp

primary
#B7CB3B
secondary
#3C3378
accent
#47E15C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7CB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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