#B4AE2F#B4AE2F

#B4AE2F is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.142 H 106.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#B4AE2F
RGBrgb(180, 174, 47)
HSLhsl(57, 59%, 45%)
HSVhsv(57, 74%, 71%)
CMYKcmyk(0%, 3.3%, 73.9%, 29.4%)
CIE-LABlab(69.60, -12.39, 61.68)
CIE-LCHlch(69.60, 62.91, 101.36°)
OKLaboklab(73.37% -0.0406 0.1358)
OKLCHoklch(73.37% 0.142 106.7)
XYZxyz(34.4729, 40.1819, 8.6288)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AE2F #2F35B4
analogous
#B46B2F #B4AE2F #78B42F
triadic
#B4AE2F #2FB4AE #AE2FB4
tetradic
#B4AE2F #2FB46B #2F35B4 #B42F78
square
#B4AE2F #2FB46B #2F35B4 #B42F78
split-complementary
#B4AE2F #2F78B4 #6B2FB4
monochromatic
#535016 #837F22 #B4AE2F #D1CB4F #DEDA80

Accessibility & contrast

On white

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

On black

9.04
#B4AE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AE2F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AE2F#FFFFFF#000000##000000
##B4AE2F1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA716
Deuteranopia (green-blind)
#C0AC39
Tritanopia (blue-blind)
#C1A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ae2f;
/* rgb */ color: rgb(180, 174, 47);
/* oklch */ color: oklch(73.4% 0.142 106.7);
Tailwind
colors: {
  custom: {
    50: '#cec571',
    500: '#b4ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #b4ae2f;
$custom-light: #cec571;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ae2f",
  "rgb": {
    "r": 180,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 57.293,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73367,
    "c": 0.14173,
    "h": 106.7
  },
  "luminance": 0.40181
}

Semantic roles & 50–950 ramp

primary
#B4AE2F
secondary
#787CC7
accent
#4DE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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