#B7CB38#B7CB38

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

Color values

HEX#B7CB38
RGBrgb(183, 203, 56)
HSLhsl(68, 59%, 51%)
HSVhsv(68, 72%, 80%)
CMYKcmyk(9.9%, 0%, 72.4%, 20.4%)
CIE-LABlab(77.91, -25.18, 66.59)
CIE-LCHlch(77.91, 71.19, 110.71°)
OKLaboklab(80.1% -0.0756 0.1476)
OKLCHoklch(80.1% 0.166 117.1)
XYZxyz(41.5992, 53.0652, 11.7918)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CB38 #4C38CB
analogous
#CB9538 #B7CB38 #6DCB38
triadic
#B7CB38 #38B7CB #CB38B7
tetradic
#B7CB38 #38CB95 #4C38CB #CB386D
square
#B7CB38 #38CB95 #4C38CB #CB386D
split-complementary
#B7CB38 #386DCB #9538CB
monochromatic
#616C1C #8D9D29 #B7CB38 #C9D869 #DAE499

Accessibility & contrast

On white

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

On black

11.61
#B7CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CB38
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CB38#FFFFFF#000000##000000
##B7CB381.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7cb38;
/* rgb */ color: rgb(183, 203, 56);
/* oklch */ color: oklch(80.1% 0.166 117.1);
Tailwind
colors: {
  custom: {
    50: '#d0da79',
    500: '#b7cb38',
    950: '#000000',
  },
}
SCSS
$custom: #b7cb38;
$custom-light: #d0da79;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cb38",
  "rgb": {
    "r": 183,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 68.163,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80098,
    "c": 0.16587,
    "h": 117.1
  },
  "luminance": 0.53065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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