#B7CB45#B7CB45

#B7CB45 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.2% C 0.157 H 117.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#B7CB45
RGBrgb(183, 203, 69)
HSLhsl(69, 56%, 53%)
HSVhsv(69, 66%, 80%)
CMYKcmyk(9.9%, 0%, 66%, 20.4%)
CIE-LABlab(78.00, -24.45, 61.87)
CIE-LCHlch(78.00, 66.53, 111.56°)
OKLaboklab(80.19% -0.0724 0.1398)
OKLCHoklch(80.19% 0.157 117.4)
XYZxyz(41.9594, 53.2093, 13.6891)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CB45 #5945CB
analogous
#CB9C45 #B7CB45 #74CB45
triadic
#B7CB45 #45B7CB #CB45B7
tetradic
#B7CB45 #45CB9C #5945CB #CB4574
square
#B7CB45 #45CB9C #5945CB #CB4574
split-complementary
#B7CB45 #4574CB #9C45CB
monochromatic
#687521 #93A52E #B7CB45 #CAD875 #DCE6A5

Accessibility & contrast

On white

1.80
#B7CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#B7CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CB45
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CB45#FFFFFF#000000##000000
##B7CB451.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C032
Deuteranopia (green-blind)
#D6C24F
Tritanopia (blue-blind)
#C2C0B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7cb45;
/* rgb */ color: rgb(183, 203, 69);
/* oklch */ color: oklch(80.2% 0.157 117.4);
Tailwind
colors: {
  custom: {
    50: '#d0da80',
    500: '#b7cb45',
    950: '#000000',
  },
}
SCSS
$custom: #b7cb45;
$custom-light: #d0da80;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cb45",
  "rgb": {
    "r": 183,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 68.955,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80193,
    "c": 0.15741,
    "h": 117.4
  },
  "luminance": 0.53209
}

Semantic roles & 50–950 ramp

primary
#B7CB45
secondary
#41377E
accent
#48E05F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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