#B1C052#B1C052

#B1C052 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.136 H 116.2°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#B1C052
RGBrgb(177, 192, 82)
HSLhsl(68, 47%, 54%)
HSVhsv(68, 57%, 75%)
CMYKcmyk(7.8%, 0%, 57.3%, 24.7%)
CIE-LABlab(74.61, -20.58, 52.58)
CIE-LCHlch(74.61, 56.47, 111.38°)
OKLaboklab(77.4% -0.0599 0.1219)
OKLCHoklch(77.4% 0.136 116.2)
XYZxyz(38.5048, 47.6561, 15.1511)
Luminance0.4766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C052 #6152C0
analogous
#C09852 #B1C052 #7AC052
triadic
#B1C052 #52B1C0 #C052B1
tetradic
#B1C052 #52C098 #6152C0 #C0527A
square
#B1C052 #52C098 #6152C0 #C0527A
split-complementary
#B1C052 #527AC0 #9852C0
monochromatic
#656F28 #8E9C39 #B1C052 #C5D07F #D9E1AC

Accessibility & contrast

On white

1.99
#B1C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#B1C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C052
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C052#FFFFFF#000000##000000
##B1C0521.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#CBB859
Tritanopia (blue-blind)
#BBB6A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b1c052;
/* rgb */ color: rgb(177, 192, 82);
/* oklch */ color: oklch(77.4% 0.136 116.2);
Tailwind
colors: {
  custom: {
    50: '#cbd386',
    500: '#b1c052',
    950: '#000000',
  },
}
SCSS
$custom: #b1c052;
$custom-light: #cbd386;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c052",
  "rgb": {
    "r": 177,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 68.182,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77398,
    "c": 0.13587,
    "h": 116.2
  },
  "luminance": 0.47656
}

Semantic roles & 50–950 ramp

primary
#B1C052
secondary
#A69FCE
accent
#52D664
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B1C052

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

Preview Lab → · Contrast checker → · Palette generator →

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