#B4A230#B4A230

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

Color values

HEX#B4A230
RGBrgb(180, 162, 48)
HSLhsl(52, 58%, 45%)
HSVhsv(52, 73%, 71%)
CMYKcmyk(0%, 10%, 73.3%, 29.4%)
CIE-LABlab(66.34, -6.05, 58.20)
CIE-LCHlch(66.34, 58.51, 95.94°)
OKLaboklab(70.77% -0.0227 0.1286)
OKLCHoklch(70.77% 0.131 100)
XYZxyz(32.2777, 35.7589, 7.9977)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A230 #3042B4
analogous
#B46030 #B4A230 #84B430
triadic
#B4A230 #30B4A2 #A230B4
tetradic
#B4A230 #30B460 #3042B4 #B43084
square
#B4A230 #30B460 #3042B4 #B43084
split-complementary
#B4A230 #3084B4 #6030B4
monochromatic
#534B16 #847723 #B4A230 #D1BF51 #DDD181

Accessibility & contrast

On white

2.58
#B4A230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B4A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A230
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A230#FFFFFF#000000##000000
##B4A2301.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a230;
/* rgb */ color: rgb(180, 162, 48);
/* oklch */ color: oklch(70.8% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#cebd70',
    500: '#b4a230',
    950: '#000000',
  },
}
SCSS
$custom: #b4a230;
$custom-light: #cebd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a230",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 51.818,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70774,
    "c": 0.13059,
    "h": 100
  },
  "luminance": 0.35757
}

Semantic roles & 50–950 ramp

primary
#B4A230
secondary
#7984C6
accent
#5CE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A230

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

Preview Lab → · Contrast checker → · Palette generator →

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