#B4A03E#B4A03E

#B4A03E is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.5% C 0.119 H 97.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B4A03E
RGBrgb(180, 160, 62)
HSLhsl(50, 49%, 47%)
HSVhsv(50, 66%, 71%)
CMYKcmyk(0%, 11.1%, 65.6%, 29.4%)
CIE-LABlab(65.90, -4.23, 52.04)
CIE-LCHlch(65.90, 52.21, 94.64°)
OKLaboklab(70.46% -0.0159 0.118)
OKLCHoklch(70.46% 0.119 97.7)
XYZxyz(32.2641, 35.1942, 9.6502)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A03E #3E52B4
analogous
#B4653E #B4A03E #8DB43E
triadic
#B4A03E #3EB4A0 #A03EB4
tetradic
#B4A03E #3EB465 #3E52B4 #B43E8D
square
#B4A03E #3EB465 #3E52B4 #B43E8D
split-complementary
#B4A03E #3E8DB4 #653EB4
monochromatic
#594F1F #86782E #B4A03E #CAB965 #DACE93

Accessibility & contrast

On white

2.61
#B4A03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B4A03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A03E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A03E#FFFFFF#000000##000000
##B4A03E1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C32
Deuteranopia (green-blind)
#B4A343
Tritanopia (blue-blind)
#C2958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b4a03e;
/* rgb */ color: rgb(180, 160, 62);
/* oklch */ color: oklch(70.5% 0.119 97.7);
Tailwind
colors: {
  custom: {
    50: '#cebb78',
    500: '#b4a03e',
    950: '#000000',
  },
}
SCSS
$custom: #b4a03e;
$custom-light: #cebb78;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a03e",
  "rgb": {
    "r": 180,
    "g": 160,
    "b": 62
  },
  "hsl": {
    "h": 49.831,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70461,
    "c": 0.11909,
    "h": 97.7
  },
  "luminance": 0.35193
}

Semantic roles & 50–950 ramp

primary
#B4A03E
secondary
#8993C5
accent
#67D84F
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B4A03E

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

Preview Lab → · Contrast checker → · Palette generator →

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