#B8AF35#B8AF35

#B8AF35 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.0% C 0.139 H 105.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#B8AF35
RGBrgb(184, 175, 53)
HSLhsl(56, 55%, 46%)
HSVhsv(56, 71%, 72%)
CMYKcmyk(0%, 4.9%, 71.2%, 27.8%)
CIE-LABlab(70.25, -10.88, 60.26)
CIE-LCHlch(70.25, 61.23, 100.24°)
OKLaboklab(73.98% -0.036 0.1337)
OKLCHoklch(73.98% 0.139 105.1)
XYZxyz(35.7412, 41.1087, 9.4196)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF35 #353EB8
analogous
#B86E35 #B8AF35 #80B835
triadic
#B8AF35 #35B8AF #AF35B8
tetradic
#B8AF35 #35B86E #353EB8 #B83580
square
#B8AF35 #35B86E #353EB8 #B83580
split-complementary
#B8AF35 #3580B8 #6E35B8
monochromatic
#59551A #888227 #B8AF35 #D0C85B #DDD88A

Accessibility & contrast

On white

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

On black

9.22
#B8AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF35
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF35#FFFFFF#000000##000000
##B8AF351.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA921
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#C6A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af35;
/* rgb */ color: rgb(184, 175, 53);
/* oklch */ color: oklch(74.0% 0.139 105.1);
Tailwind
colors: {
  custom: {
    50: '#d1c674',
    500: '#b8af35',
    950: '#000000',
  },
}
SCSS
$custom: #b8af35;
$custom-light: #d1c674;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af35",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 55.878,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73982,
    "c": 0.1385,
    "h": 105.1
  },
  "luminance": 0.41107
}

Semantic roles & 50–950 ramp

primary
#B8AF35
secondary
#8186C7
accent
#53DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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