#B1B62B#B1B62B

#B1B62B 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#B1B62B
RGBrgb(177, 182, 43)
HSLhsl(62, 62%, 44%)
HSVhsv(62, 76%, 71%)
CMYKcmyk(2.7%, 0%, 76.4%, 28.6%)
CIE-LABlab(71.54, -17.94, 64.72)
CIE-LCHlch(71.54, 67.16, 105.49°)
OKLaboklab(74.85% -0.0563 0.1416)
OKLCHoklch(74.85% 0.152 111.7)
XYZxyz(35.2967, 42.9783, 8.7213)
Luminance0.4298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B62B #302BB6
analogous
#B6762B #B1B62B #6CB62B
triadic
#B1B62B #2BB1B6 #B62BB1
tetradic
#B1B62B #2BB676 #302BB6 #B62B6C
square
#B1B62B #2BB676 #302BB6 #B62B6C
split-complementary
#B1B62B #2B6CB6 #762BB6
monochromatic
#515314 #81841F #B1B62B #CFD44A #DCE07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B62B#FFFFFF#000000##000000
##B1B62B1.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)
#C4AD04
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#BDAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b62b;
/* rgb */ color: rgb(177, 182, 43);
/* oklch */ color: oklch(74.9% 0.152 111.7);
Tailwind
colors: {
  custom: {
    50: '#cccb70',
    500: '#b1b62b',
    950: '#000000',
  },
}
SCSS
$custom: #b1b62b;
$custom-light: #cccb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b62b",
  "rgb": {
    "r": 177,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 62.158,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74851,
    "c": 0.15241,
    "h": 111.7
  },
  "luminance": 0.42977
}

Semantic roles & 50–950 ramp

primary
#B1B62B
secondary
#7875C8
accent
#43E549
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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