#B8AF34#B8AF34

#B8AF34 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#B8AF34
RGBrgb(184, 175, 52)
HSLhsl(56, 56%, 46%)
HSVhsv(56, 72%, 72%)
CMYKcmyk(0%, 4.9%, 71.7%, 27.8%)
CIE-LABlab(70.25, -10.93, 60.62)
CIE-LCHlch(70.25, 61.60, 100.22°)
OKLaboklab(73.98% -0.0363 0.1343)
OKLCHoklch(73.98% 0.139 105.1)
XYZxyz(35.7184, 41.0996, 9.2997)
Luminance0.4110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF34 #343DB8
analogous
#B86D34 #B8AF34 #7FB834
triadic
#B8AF34 #34B8AF #AF34B8
tetradic
#B8AF34 #34B86D #343DB8 #B8347F
square
#B8AF34 #34B86D #343DB8 #B8347F
split-complementary
#B8AF34 #347FB8 #6D34B8
monochromatic
#595419 #888227 #B8AF34 #D0C859 #DED889

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AF34#FFFFFF#000000##000000
##B8AF341.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)
#BEA91F
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#C6A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af34;
/* rgb */ color: rgb(184, 175, 52);
/* oklch */ color: oklch(74.0% 0.139 105.1);
Tailwind
colors: {
  custom: {
    50: '#d1c674',
    500: '#b8af34',
    950: '#000000',
  },
}
SCSS
$custom: #b8af34;
$custom-light: #d1c674;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af34",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 55.909,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73975,
    "c": 0.13913,
    "h": 105.1
  },
  "luminance": 0.41098
}

Semantic roles & 50–950 ramp

primary
#B8AF34
secondary
#8085C8
accent
#53DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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