#B4B62E#B4B62E

#B4B62E is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.150 H 110.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#B4B62E
RGBrgb(180, 182, 46)
HSLhsl(61, 60%, 45%)
HSVhsv(61, 75%, 71%)
CMYKcmyk(1.1%, 0%, 74.7%, 28.6%)
CIE-LABlab(71.80, -16.52, 64.08)
CIE-LCHlch(71.80, 66.17, 104.46°)
OKLaboklab(75.12% -0.0523 0.1407)
OKLCHoklch(75.12% 0.15 110.4)
XYZxyz(36.0448, 43.3575, 9.0543)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B62E #302EB6
analogous
#B6742E #B4B62E #70B62E
triadic
#B4B62E #2EB4B6 #B62EB4
tetradic
#B4B62E #2EB674 #302EB6 #B62E70
square
#B4B62E #2EB674 #302EB6 #B62E70
split-complementary
#B4B62E #2E70B6 #742EB6
monochromatic
#535415 #848522 #B4B62E #D1D24F #DDDF80

Accessibility & contrast

On white

2.17
#B4B62E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#B4B62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B62E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B62E#FFFFFF#000000##000000
##B4B62E1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b62e;
/* rgb */ color: rgb(180, 182, 46);
/* oklch */ color: oklch(75.1% 0.150 110.4);
Tailwind
colors: {
  custom: {
    50: '#cecb72',
    500: '#b4b62e',
    950: '#000000',
  },
}
SCSS
$custom: #b4b62e;
$custom-light: #cecb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b62e",
  "rgb": {
    "r": 180,
    "g": 182,
    "b": 46
  },
  "hsl": {
    "h": 60.882,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7512,
    "c": 0.15009,
    "h": 110.4
  },
  "luminance": 0.43356
}

Semantic roles & 50–950 ramp

primary
#B4B62E
secondary
#7978C8
accent
#45E347
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B62E

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

Preview Lab → · Contrast checker → · Palette generator →

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