#B7CB39#B7CB39

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

Color values

HEX#B7CB39
RGBrgb(183, 203, 57)
HSLhsl(68, 58%, 51%)
HSVhsv(68, 72%, 80%)
CMYKcmyk(9.9%, 0%, 71.9%, 20.4%)
CIE-LABlab(77.92, -25.13, 66.25)
CIE-LCHlch(77.92, 70.85, 110.77°)
OKLaboklab(80.1% -0.0754 0.1471)
OKLCHoklch(80.1% 0.165 117.1)
XYZxyz(41.6239, 53.0751, 11.9219)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CB39 #4D39CB
analogous
#CB9639 #B7CB39 #6ECB39
triadic
#B7CB39 #39B7CB #CB39B7
tetradic
#B7CB39 #39CB96 #4D39CB #CB396E
square
#B7CB39 #39CB96 #4D39CB #CB396E
split-complementary
#B7CB39 #396ECB #9639CB
monochromatic
#626D1D #8E9D29 #B7CB39 #C9D869 #DAE49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7CB39#FFFFFF#000000##000000
##B7CB391.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)
#D9C01D
Deuteranopia (green-blind)
#D7C145
Tritanopia (blue-blind)
#C2C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7cb39;
/* rgb */ color: rgb(183, 203, 57);
/* oklch */ color: oklch(80.1% 0.165 117.1);
Tailwind
colors: {
  custom: {
    50: '#d0da79',
    500: '#b7cb39',
    950: '#000000',
  },
}
SCSS
$custom: #b7cb39;
$custom-light: #d0da79;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cb39",
  "rgb": {
    "r": 183,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 68.219,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80104,
    "c": 0.16528,
    "h": 117.1
  },
  "luminance": 0.53075
}

Semantic roles & 50–950 ramp

primary
#B7CB39
secondary
#3B3276
accent
#46E25B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7CB39

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

Preview Lab → · Contrast checker → · Palette generator →

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