#B7AF35#B7AF35

#B7AF35 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.9% C 0.139 H 105.6°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B7AF35
RGBrgb(183, 175, 53)
HSLhsl(56, 55%, 46%)
HSVhsv(56, 71%, 72%)
CMYKcmyk(0%, 4.4%, 71%, 28.2%)
CIE-LABlab(70.17, -11.32, 60.14)
CIE-LCHlch(70.17, 61.20, 100.66°)
OKLaboklab(73.89% -0.0372 0.1335)
OKLCHoklch(73.89% 0.139 105.6)
XYZxyz(35.5024, 40.9856, 9.4084)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AF35 #353DB7
analogous
#B76E35 #B7AF35 #7EB735
triadic
#B7AF35 #35B7AF #AF35B7
tetradic
#B7AF35 #35B76E #353DB7 #B7357E
square
#B7AF35 #35B76E #353DB7 #B7357E
split-complementary
#B7AF35 #357EB7 #6E35B7
monochromatic
#58541A #888227 #B7AF35 #CFC85A #DDD889

Accessibility & contrast

On white

2.28
#B7AF35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#B7AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AF35
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AF35#FFFFFF#000000##000000
##B7AF351.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA921
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#C5A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7af35;
/* rgb */ color: rgb(183, 175, 53);
/* oklch */ color: oklch(73.9% 0.139 105.6);
Tailwind
colors: {
  custom: {
    50: '#d0c674',
    500: '#b7af35',
    950: '#000000',
  },
}
SCSS
$custom: #b7af35;
$custom-light: #d0c674;
$custom-dark: #000000;
JSON
{
  "hex": "#b7af35",
  "rgb": {
    "r": 183,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 56.308,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73893,
    "c": 0.13861,
    "h": 105.6
  },
  "luminance": 0.40984
}

Semantic roles & 50–950 ramp

primary
#B7AF35
secondary
#8185C7
accent
#53DE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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