#B7CB40#B7CB40

#B7CB40 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.2% C 0.161 H 117.3°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#B7CB40
RGBrgb(183, 203, 64)
HSLhsl(69, 57%, 52%)
HSVhsv(69, 68%, 80%)
CMYKcmyk(9.9%, 0%, 68.5%, 20.4%)
CIE-LABlab(77.96, -24.75, 63.76)
CIE-LCHlch(77.96, 68.40, 111.21°)
OKLaboklab(80.15% -0.0737 0.143)
OKLCHoklch(80.15% 0.161 117.3)
XYZxyz(41.8107, 53.1498, 12.9058)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CB40 #5440CB
analogous
#CB9A40 #B7CB40 #72CB40
triadic
#B7CB40 #40B7CB #CB40B7
tetradic
#B7CB40 #40CB9A #5440CB #CB4072
square
#B7CB40 #40CB9A #5440CB #CB4072
split-complementary
#B7CB40 #4072CB #9A40CB
monochromatic
#66721F #91A22C #B7CB40 #C9D870 #DBE5A0

Accessibility & contrast

On white

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

On black

11.63
#B7CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CB40
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CB40#FFFFFF#000000##000000
##B7CB401.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7cb40;
/* rgb */ color: rgb(183, 203, 64);
/* oklch */ color: oklch(80.2% 0.161 117.3);
Tailwind
colors: {
  custom: {
    50: '#d0da7d',
    500: '#b7cb40',
    950: '#000000',
  },
}
SCSS
$custom: #b7cb40;
$custom-light: #d0da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cb40",
  "rgb": {
    "r": 183,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 68.633,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80154,
    "c": 0.16086,
    "h": 117.3
  },
  "luminance": 0.53149
}

Semantic roles & 50–950 ramp

primary
#B7CB40
secondary
#3F357B
accent
#47E05D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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