#B4B13E#B4B13E

#B4B13E is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.1% C 0.135 H 107.8°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B4B13E
RGBrgb(180, 177, 62)
HSLhsl(58, 49%, 47%)
HSVhsv(58, 66%, 71%)
CMYKcmyk(0%, 1.7%, 65.6%, 29.4%)
CIE-LABlab(70.52, -13.15, 56.88)
CIE-LCHlch(70.52, 58.38, 103.01°)
OKLaboklab(74.14% -0.0412 0.1283)
OKLCHoklch(74.14% 0.135 107.8)
XYZxyz(35.4153, 41.4965, 10.7006)
Luminance0.4149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B13E #3E41B4
analogous
#B4763E #B4B13E #7CB43E
triadic
#B4B13E #3EB4B1 #B13EB4
tetradic
#B4B13E #3EB476 #3E41B4 #B43E7C
square
#B4B13E #3EB476 #3E41B4 #B43E7C
split-complementary
#B4B13E #3E7CB4 #763EB4
monochromatic
#59571F #86842E #B4B13E #CAC765 #DAD893

Accessibility & contrast

On white

2.26
#B4B13E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B4B13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B13E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B13E#FFFFFF#000000##000000
##B4B13E1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2E
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#C1A699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b13e;
/* rgb */ color: rgb(180, 177, 62);
/* oklch */ color: oklch(74.1% 0.135 107.8);
Tailwind
colors: {
  custom: {
    50: '#cdc879',
    500: '#b4b13e',
    950: '#000000',
  },
}
SCSS
$custom: #b4b13e;
$custom-light: #cdc879;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b13e",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 58.475,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74136,
    "c": 0.13473,
    "h": 107.8
  },
  "luminance": 0.41495
}

Semantic roles & 50–950 ramp

primary
#B4B13E
secondary
#898AC5
accent
#53D84F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B13E

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

Preview Lab → · Contrast checker → · Palette generator →

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