#B4AF3E#B4AF3E

#B4AF3E is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.133 H 106.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B4AF3E
RGBrgb(180, 175, 62)
HSLhsl(57, 49%, 47%)
HSVhsv(57, 66%, 71%)
CMYKcmyk(0%, 2.8%, 65.6%, 29.4%)
CIE-LABlab(69.97, -12.12, 56.31)
CIE-LCHlch(69.97, 57.60, 102.14°)
OKLaboklab(73.7% -0.0383 0.1271)
OKLCHoklch(73.7% 0.133 106.8)
XYZxyz(35.0231, 40.7122, 10.5699)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AF3E #3E43B4
analogous
#B4743E #B4AF3E #7EB43E
triadic
#B4AF3E #3EB4AF #AF3EB4
tetradic
#B4AF3E #3EB474 #3E43B4 #B43E7E
square
#B4AF3E #3EB474 #3E43B4 #B43E7E
split-complementary
#B4AF3E #3E7EB4 #743EB4
monochromatic
#59561F #86832E #B4AF3E #CAC665 #DAD793

Accessibility & contrast

On white

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

On black

9.14
#B4AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AF3E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AF3E#FFFFFF#000000##000000
##B4AF3E1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82F
Deuteranopia (green-blind)
#C0AD45
Tritanopia (blue-blind)
#C1A498
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4af3e;
/* rgb */ color: rgb(180, 175, 62);
/* oklch */ color: oklch(73.7% 0.133 106.8);
Tailwind
colors: {
  custom: {
    50: '#cdc679',
    500: '#b4af3e',
    950: '#000000',
  },
}
SCSS
$custom: #b4af3e;
$custom-light: #cdc679;
$custom-dark: #000000;
JSON
{
  "hex": "#b4af3e",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 57.458,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73698,
    "c": 0.13272,
    "h": 106.8
  },
  "luminance": 0.40711
}

Semantic roles & 50–950 ramp

primary
#B4AF3E
secondary
#898BC5
accent
#55D84F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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