#B1B62D#B1B62D

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

Color values

HEX#B1B62D
RGBrgb(177, 182, 45)
HSLhsl(62, 60%, 45%)
HSVhsv(62, 75%, 71%)
CMYKcmyk(2.7%, 0%, 75.3%, 28.6%)
CIE-LABlab(71.55, -17.85, 64.09)
CIE-LCHlch(71.55, 66.53, 105.57°)
OKLaboklab(74.86% -0.0559 0.1406)
OKLCHoklch(74.86% 0.151 111.7)
XYZxyz(35.3343, 42.9934, 8.9194)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B62D #322DB6
analogous
#B6772D #B1B62D #6DB62D
triadic
#B1B62D #2DB1B6 #B62DB1
tetradic
#B1B62D #2DB677 #322DB6 #B62D6D
square
#B1B62D #2DB677 #322DB6 #B62D6D
split-complementary
#B1B62D #2D6DB6 #772DB6
monochromatic
#525415 #818521 #B1B62D #CED34D #DCDF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B62D#FFFFFF#000000##000000
##B1B62D1.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)
#C4AE0B
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#BDAB9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b62d;
/* rgb */ color: rgb(177, 182, 45);
/* oklch */ color: oklch(74.9% 0.151 111.7);
Tailwind
colors: {
  custom: {
    50: '#cccb71',
    500: '#b1b62d',
    950: '#000000',
  },
}
SCSS
$custom: #b1b62d;
$custom-light: #cccb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b62d",
  "rgb": {
    "r": 177,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 62.19,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74862,
    "c": 0.15135,
    "h": 111.7
  },
  "luminance": 0.42992
}

Semantic roles & 50–950 ramp

primary
#B1B62D
secondary
#7A77C8
accent
#44E34A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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