#B9AF3C#B9AF3C

#B9AF3C is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.134 H 104.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B9AF3C
RGBrgb(185, 175, 60)
HSLhsl(55, 51%, 48%)
HSVhsv(55, 68%, 73%)
CMYKcmyk(0%, 5.4%, 67.6%, 27.5%)
CIE-LABlab(70.39, -10.08, 57.69)
CIE-LCHlch(70.39, 58.56, 99.91°)
OKLaboklab(74.13% -0.0331 0.1295)
OKLCHoklch(74.13% 0.134 104.3)
XYZxyz(36.1546, 41.3019, 10.3417)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AF3C #3C46B9
analogous
#B9703C #B9AF3C #84B93C
triadic
#B9AF3C #3CB9AF #AF3CB9
tetradic
#B9AF3C #3CB970 #3C46B9 #B93C84
square
#B9AF3C #3CB970 #3C46B9 #B93C84
split-complementary
#B9AF3C #3C84B9 #703CB9
monochromatic
#5D581E #8B832D #B9AF3C #CDC565 #DCD693

Accessibility & contrast

On white

2.27
#B9AF3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B9AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AF3C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AF3C#FFFFFF#000000##000000
##B9AF3C1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92C
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#C7A398
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b9af3c;
/* rgb */ color: rgb(185, 175, 60);
/* oklch */ color: oklch(74.1% 0.134 104.3);
Tailwind
colors: {
  custom: {
    50: '#d1c678',
    500: '#b9af3c',
    950: '#000000',
  },
}
SCSS
$custom: #b9af3c;
$custom-light: #d1c678;
$custom-dark: #000000;
JSON
{
  "hex": "#b9af3c",
  "rgb": {
    "r": 185,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 55.2,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74126,
    "c": 0.13365,
    "h": 104.3
  },
  "luminance": 0.413
}

Semantic roles & 50–950 ramp

primary
#B9AF3C
secondary
#898EC7
accent
#59DA4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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