#B4A239#B4A239

#B4A239 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.124 H 99.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B4A239
RGBrgb(180, 162, 57)
HSLhsl(51, 52%, 46%)
HSVhsv(51, 68%, 71%)
CMYKcmyk(0%, 10%, 68.3%, 29.4%)
CIE-LABlab(66.40, -5.59, 54.70)
CIE-LCHlch(66.40, 54.98, 95.83°)
OKLaboklab(70.84% -0.0204 0.1228)
OKLCHoklch(70.84% 0.125 99.4)
XYZxyz(32.4827, 35.8409, 9.0771)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A239 #394BB4
analogous
#B46539 #B4A239 #89B439
triadic
#B4A239 #39B4A2 #A239B4
tetradic
#B4A239 #39B465 #394BB4 #B43989
square
#B4A239 #39B465 #394BB4 #B43989
split-complementary
#B4A239 #3989B4 #6539B4
monochromatic
#574E1C #86782A #B4A239 #CCBC5E #DBCF8D

Accessibility & contrast

On white

2.57
#B4A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B4A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A239
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A239#FFFFFF#000000##000000
##B4A2391.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2B
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#C2968D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b4a239;
/* rgb */ color: rgb(180, 162, 57);
/* oklch */ color: oklch(70.8% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#cebd75',
    500: '#b4a239',
    950: '#000000',
  },
}
SCSS
$custom: #b4a239;
$custom-light: #cebd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a239",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 51.22,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70844,
    "c": 0.1245,
    "h": 99.4
  },
  "luminance": 0.35839
}

Semantic roles & 50–950 ramp

primary
#B4A239
secondary
#838DC5
accent
#61DB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A239

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

Preview Lab → · Contrast checker → · Palette generator →

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