#B4A236#B4A236

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

Color values

HEX#B4A236
RGBrgb(180, 162, 54)
HSLhsl(51, 54%, 46%)
HSVhsv(51, 70%, 71%)
CMYKcmyk(0%, 10%, 70%, 29.4%)
CIE-LABlab(66.38, -5.75, 55.90)
CIE-LCHlch(66.38, 56.20, 95.88°)
OKLaboklab(70.82% -0.0212 0.1249)
OKLCHoklch(70.82% 0.127 99.6)
XYZxyz(32.4101, 35.8118, 8.6945)
Luminance0.3581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A236 #3648B4
analogous
#B46336 #B4A236 #87B436
triadic
#B4A236 #36B4A2 #A236B4
tetradic
#B4A236 #36B463 #3648B4 #B43687
square
#B4A236 #36B463 #3648B4 #B43687
split-complementary
#B4A236 #3687B4 #6336B4
monochromatic
#564D1A #857828 #B4A236 #CDBD5A #DCD089

Accessibility & contrast

On white

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

On black

8.16
#B4A236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A236
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A236#FFFFFF#000000##000000
##B4A2361.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E26
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#C2968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b4a236;
/* rgb */ color: rgb(180, 162, 54);
/* oklch */ color: oklch(70.8% 0.127 99.6);
Tailwind
colors: {
  custom: {
    50: '#cebd74',
    500: '#b4a236',
    950: '#000000',
  },
}
SCSS
$custom: #b4a236;
$custom-light: #cebd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a236",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 51.429,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70819,
    "c": 0.12663,
    "h": 99.6
  },
  "luminance": 0.3581
}

Semantic roles & 50–950 ramp

primary
#B4A236
secondary
#808AC6
accent
#60DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A236

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

Preview Lab → · Contrast checker → · Palette generator →

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