#B4AE38#B4AE38

#B4AE38 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.136 H 106.4°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#B4AE38
RGBrgb(180, 174, 56)
HSLhsl(57, 53%, 46%)
HSVhsv(57, 69%, 71%)
CMYKcmyk(0%, 3.3%, 68.9%, 29.4%)
CIE-LABlab(69.66, -11.94, 58.40)
CIE-LCHlch(69.66, 59.61, 101.56°)
OKLaboklab(73.43% -0.0385 0.1305)
OKLCHoklch(73.43% 0.136 106.4)
XYZxyz(34.6736, 40.2621, 9.6855)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AE38 #383EB4
analogous
#B47038 #B4AE38 #7CB438
triadic
#B4AE38 #38B4AE #AE38B4
tetradic
#B4AE38 #38B470 #383EB4 #B4387C
square
#B4AE38 #38B470 #383EB4 #B4387C
split-complementary
#B4AE38 #387CB4 #7038B4
monochromatic
#57541B #858129 #B4AE38 #CDC75D #DBD78B

Accessibility & contrast

On white

2.32
#B4AE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#B4AE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AE38
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AE38#FFFFFF#000000##000000
##B4AE381.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA726
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#C1A396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ae38;
/* rgb */ color: rgb(180, 174, 56);
/* oklch */ color: oklch(73.4% 0.136 106.4);
Tailwind
colors: {
  custom: {
    50: '#cec576',
    500: '#b4ae38',
    950: '#000000',
  },
}
SCSS
$custom: #b4ae38;
$custom-light: #cec576;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ae38",
  "rgb": {
    "r": 180,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 57.097,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73431,
    "c": 0.13604,
    "h": 106.4
  },
  "luminance": 0.40261
}

Semantic roles & 50–950 ramp

primary
#B4AE38
secondary
#8286C5
accent
#53DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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