#B7C052#B7C052

#B7C052 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.9% C 0.134 H 113.4°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#B7C052
RGBrgb(183, 192, 82)
HSLhsl(65, 47%, 54%)
HSVhsv(65, 57%, 75%)
CMYKcmyk(4.7%, 0%, 57.3%, 24.7%)
CIE-LABlab(75.06, -18.12, 53.21)
CIE-LCHlch(75.06, 56.22, 108.80°)
OKLaboklab(77.88% -0.0533 0.1232)
OKLCHoklch(77.88% 0.134 113.4)
XYZxyz(39.9019, 48.3765, 15.2166)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C052 #5B52C0
analogous
#C09252 #B7C052 #80C052
triadic
#B7C052 #52B7C0 #C052B7
tetradic
#B7C052 #52C092 #5B52C0 #C05280
square
#B7C052 #52C092 #5B52C0 #C05280
split-complementary
#B7C052 #5280C0 #9252C0
monochromatic
#696F28 #949C39 #B7C052 #CAD07F #DCE1AC

Accessibility & contrast

On white

1.97
#B7C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#B7C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C052
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C052#FFFFFF#000000##000000
##B7C0521.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#CDBA59
Tritanopia (blue-blind)
#C2B6A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c052;
/* rgb */ color: rgb(183, 192, 82);
/* oklch */ color: oklch(77.9% 0.134 113.4);
Tailwind
colors: {
  custom: {
    50: '#cfd287',
    500: '#b7c052',
    950: '#000000',
  },
}
SCSS
$custom: #b7c052;
$custom-light: #cfd287;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c052",
  "rgb": {
    "r": 183,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 64.909,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77875,
    "c": 0.13424,
    "h": 113.4
  },
  "luminance": 0.48376
}

Semantic roles & 50–950 ramp

primary
#B7C052
secondary
#A39FCE
accent
#52D65C
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7C052

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

Preview Lab → · Contrast checker → · Palette generator →

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