#B1B62E#B1B62E

#B1B62E 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#B1B62E
RGBrgb(177, 182, 46)
HSLhsl(62, 60%, 45%)
HSVhsv(62, 75%, 71%)
CMYKcmyk(2.7%, 0%, 74.7%, 28.6%)
CIE-LABlab(71.56, -17.81, 63.77)
CIE-LCHlch(71.56, 66.21, 105.61°)
OKLaboklab(74.87% -0.0557 0.1401)
OKLCHoklch(74.87% 0.151 111.7)
XYZxyz(35.3537, 43.0012, 9.0220)
Luminance0.4300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B62E #332EB6
analogous
#B6772E #B1B62E #6DB62E
triadic
#B1B62E #2EB1B6 #B62EB1
tetradic
#B1B62E #2EB677 #332EB6 #B62E6D
square
#B1B62E #2EB677 #332EB6 #B62E6D
split-complementary
#B1B62E #2E6DB6 #772EB6
monochromatic
#525415 #818522 #B1B62E #CED24F #DBDF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b1b62e;
/* rgb */ color: rgb(177, 182, 46);
/* oklch */ color: oklch(74.9% 0.151 111.7);
Tailwind
colors: {
  custom: {
    50: '#cccb71',
    500: '#b1b62e',
    950: '#000000',
  },
}
SCSS
$custom: #b1b62e;
$custom-light: #cccb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b62e",
  "rgb": {
    "r": 177,
    "g": 182,
    "b": 46
  },
  "hsl": {
    "h": 62.206,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74868,
    "c": 0.15081,
    "h": 111.7
  },
  "luminance": 0.43
}

Semantic roles & 50–950 ramp

primary
#B1B62E
secondary
#7B78C8
accent
#45E34B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B62E

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

Preview Lab → · Contrast checker → · Palette generator →

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