#B7CB3C#B7CB3C

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

Color values

HEX#B7CB3C
RGBrgb(183, 203, 60)
HSLhsl(68, 58%, 52%)
HSVhsv(68, 70%, 80%)
CMYKcmyk(9.9%, 0%, 70.4%, 20.4%)
CIE-LABlab(77.94, -24.97, 65.21)
CIE-LCHlch(77.94, 69.82, 110.95°)
OKLaboklab(80.13% -0.0747 0.1454)
OKLCHoklch(80.13% 0.163 117.2)
XYZxyz(41.7009, 53.1059, 12.3278)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CB3C #503CCB
analogous
#CB983C #B7CB3C #70CB3C
triadic
#B7CB3C #3CB7CB #CB3CB7
tetradic
#B7CB3C #3CCB98 #503CCB #CB3C70
square
#B7CB3C #3CCB98 #503CCB #CB3C70
split-complementary
#B7CB3C #3C70CB #983CCB
monochromatic
#646F1E #8F9F2A #B7CB3C #C9D86C #DBE59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7CB3C#FFFFFF#000000##000000
##B7CB3C1.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)
#D9C023
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#C2C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7cb3c;
/* rgb */ color: rgb(183, 203, 60);
/* oklch */ color: oklch(80.1% 0.163 117.2);
Tailwind
colors: {
  custom: {
    50: '#d0da7b',
    500: '#b7cb3c',
    950: '#000000',
  },
}
SCSS
$custom: #b7cb3c;
$custom-light: #d0da7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cb3c",
  "rgb": {
    "r": 183,
    "g": 203,
    "b": 60
  },
  "hsl": {
    "h": 68.392,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80125,
    "c": 0.16345,
    "h": 117.2
  },
  "luminance": 0.53105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7CB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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