#B7CC38#B7CC38

#B7CC38 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.3% C 0.167 H 117.4°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#B7CC38
RGBrgb(183, 204, 56)
HSLhsl(69, 59%, 51%)
HSVhsv(69, 73%, 80%)
CMYKcmyk(10.3%, 0%, 72.5%, 20%)
CIE-LABlab(78.19, -25.66, 66.86)
CIE-LCHlch(78.19, 71.61, 111.00°)
OKLaboklab(80.32% -0.0769 0.1482)
OKLCHoklch(80.32% 0.167 117.4)
XYZxyz(41.8361, 53.5390, 11.8708)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CC38 #4D38CC
analogous
#CC9738 #B7CC38 #6DCC38
triadic
#B7CC38 #38B7CC #CC38B7
tetradic
#B7CC38 #38CC97 #4D38CC #CC386D
square
#B7CC38 #38CC97 #4D38CC #CC386D
split-complementary
#B7CC38 #386DCC #9738CC
monochromatic
#626E1C #8E9E29 #B7CC38 #C9D869 #DAE599

Accessibility & contrast

On white

1.79
#B7CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#B7CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CC38
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CC38#FFFFFF#000000##000000
##B7CC381.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#D8C244
Tritanopia (blue-blind)
#C2C1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7cc38;
/* rgb */ color: rgb(183, 204, 56);
/* oklch */ color: oklch(80.3% 0.167 117.4);
Tailwind
colors: {
  custom: {
    50: '#d0db79',
    500: '#b7cc38',
    950: '#000000',
  },
}
SCSS
$custom: #b7cc38;
$custom-light: #d0db79;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cc38",
  "rgb": {
    "r": 183,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 68.514,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80322,
    "c": 0.16699,
    "h": 117.4
  },
  "luminance": 0.53539
}

Semantic roles & 50–950 ramp

primary
#B7CC38
secondary
#3B3177
accent
#45E25C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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