#B4A42C#B4A42C

#B4A42C is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.135 H 101.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B4A42C
RGBrgb(180, 164, 44)
HSLhsl(53, 61%, 44%)
HSVhsv(53, 76%, 71%)
CMYKcmyk(0%, 8.9%, 75.6%, 29.4%)
CIE-LABlab(66.85, -7.29, 60.14)
CIE-LCHlch(66.85, 60.58, 96.91°)
OKLaboklab(71.18% -0.0266 0.132)
OKLCHoklch(71.18% 0.135 101.4)
XYZxyz(32.5540, 36.4376, 7.7008)
Luminance0.3644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A42C #2C3CB4
analogous
#B4602C #B4A42C #80B42C
triadic
#B4A42C #2CB4A4 #A42CB4
tetradic
#B4A42C #2CB460 #2C3CB4 #B42C80
square
#B4A42C #2CB460 #2C3CB4 #B42C80
split-complementary
#B4A42C #2C80B4 #602CB4
monochromatic
#524A14 #837720 #B4A42C #D3C34A #DFD37C

Accessibility & contrast

On white

2.53
#B4A42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B4A42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A42C
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A42C#FFFFFF#000000##000000
##B4A42C1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F14
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#C2988D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a42c;
/* rgb */ color: rgb(180, 164, 44);
/* oklch */ color: oklch(71.2% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#cebe6e',
    500: '#b4a42c',
    950: '#000000',
  },
}
SCSS
$custom: #b4a42c;
$custom-light: #cebe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a42c",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 52.941,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71177,
    "c": 0.1346,
    "h": 101.4
  },
  "luminance": 0.36436
}

Semantic roles & 50–950 ramp

primary
#B4A42C
secondary
#757EC7
accent
#57E444
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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