#B4AF35#B4AF35

#B4AF35 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.139 H 107.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#B4AF35
RGBrgb(180, 175, 53)
HSLhsl(58, 55%, 46%)
HSVhsv(58, 71%, 71%)
CMYKcmyk(0%, 2.8%, 70.6%, 29.4%)
CIE-LABlab(69.91, -12.62, 59.80)
CIE-LCHlch(69.91, 61.12, 101.91°)
OKLaboklab(73.63% -0.0407 0.1329)
OKLCHoklch(73.63% 0.139 107)
XYZxyz(34.7963, 40.6215, 9.3753)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AF35 #353AB4
analogous
#B46F35 #B4AF35 #79B435
triadic
#B4AF35 #35B4AF #AF35B4
tetradic
#B4AF35 #35B46F #353AB4 #B43579
square
#B4AF35 #35B46F #353AB4 #B43579
split-complementary
#B4AF35 #3579B4 #6F35B4
monochromatic
#555319 #858127 #B4AF35 #CEC958 #DCD988

Accessibility & contrast

On white

2.30
#B4AF35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#B4AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AF35
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AF35#FFFFFF#000000##000000
##B4AF351.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA821
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#C1A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4af35;
/* rgb */ color: rgb(180, 175, 53);
/* oklch */ color: oklch(73.6% 0.139 107.0);
Tailwind
colors: {
  custom: {
    50: '#cec674',
    500: '#b4af35',
    950: '#000000',
  },
}
SCSS
$custom: #b4af35;
$custom-light: #cec674;
$custom-dark: #000000;
JSON
{
  "hex": "#b4af35",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 57.638,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73627,
    "c": 0.139,
    "h": 107
  },
  "luminance": 0.4062
}

Semantic roles & 50–950 ramp

primary
#B4AF35
secondary
#7F82C6
accent
#50DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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