#B1B62C#B1B62C

#B1B62C is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.152 H 111.7°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B1B62C
RGBrgb(177, 182, 44)
HSLhsl(62, 61%, 44%)
HSVhsv(62, 76%, 71%)
CMYKcmyk(2.7%, 0%, 75.8%, 28.6%)
CIE-LABlab(71.55, -17.90, 64.41)
CIE-LCHlch(71.55, 66.85, 105.53°)
OKLaboklab(74.86% -0.0561 0.1411)
OKLCHoklch(74.86% 0.152 111.7)
XYZxyz(35.3152, 42.9858, 8.8192)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B62C #312CB6
analogous
#B6762C #B1B62C #6CB62C
triadic
#B1B62C #2CB1B6 #B62CB1
tetradic
#B1B62C #2CB676 #312CB6 #B62C6C
square
#B1B62C #2CB676 #312CB6 #B62C6C
split-complementary
#B1B62C #2C6CB6 #762CB6
monochromatic
#515314 #818520 #B1B62C #CFD44C #DCE07D

Accessibility & contrast

On white

2.19
#B1B62C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#B1B62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B62C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B62C#FFFFFF#000000##000000
##B1B62C1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE08
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#BDAB9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b62c;
/* rgb */ color: rgb(177, 182, 44);
/* oklch */ color: oklch(74.9% 0.152 111.7);
Tailwind
colors: {
  custom: {
    50: '#cccb71',
    500: '#b1b62c',
    950: '#000000',
  },
}
SCSS
$custom: #b1b62c;
$custom-light: #cccb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b62c",
  "rgb": {
    "r": 177,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 62.174,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74857,
    "c": 0.15189,
    "h": 111.7
  },
  "luminance": 0.42985
}

Semantic roles & 50–950 ramp

primary
#B1B62C
secondary
#7976C8
accent
#44E449
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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