#B8AF30#B8AF30

#B8AF30 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.142 H 105.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#B8AF30
RGBrgb(184, 175, 48)
HSLhsl(56, 59%, 45%)
HSVhsv(56, 74%, 72%)
CMYKcmyk(0%, 4.9%, 73.9%, 27.8%)
CIE-LABlab(70.22, -11.12, 62.04)
CIE-LCHlch(70.22, 63.03, 100.16°)
OKLaboklab(73.95% -0.0372 0.1366)
OKLCHoklch(73.95% 0.142 105.2)
XYZxyz(35.6321, 41.0651, 8.8452)
Luminance0.4106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF30 #3039B8
analogous
#B86B30 #B8AF30 #7DB830
triadic
#B8AF30 #30B8AF #AF30B8
tetradic
#B8AF30 #30B86B #3039B8 #B8307D
square
#B8AF30 #30B86B #3039B8 #B8307D
split-complementary
#B8AF30 #307DB8 #6B30B8
monochromatic
#575317 #878123 #B8AF30 #D2CA53 #DFD984

Accessibility & contrast

On white

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

On black

9.21
#B8AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF30
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF30#FFFFFF#000000##000000
##B8AF301.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8af30;
/* rgb */ color: rgb(184, 175, 48);
/* oklch */ color: oklch(73.9% 0.142 105.2);
Tailwind
colors: {
  custom: {
    50: '#d1c672',
    500: '#b8af30',
    950: '#000000',
  },
}
SCSS
$custom: #b8af30;
$custom-light: #d1c672;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af30",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 56.029,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73948,
    "c": 0.14156,
    "h": 105.2
  },
  "luminance": 0.41064
}

Semantic roles & 50–950 ramp

primary
#B8AF30
secondary
#7C81C8
accent
#50E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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