#B8AD30#B8AD30

#B8AD30 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.140 H 104.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#B8AD30
RGBrgb(184, 173, 48)
HSLhsl(55, 59%, 45%)
HSVhsv(55, 74%, 72%)
CMYKcmyk(0%, 6%, 73.9%, 27.8%)
CIE-LABlab(69.68, -10.08, 61.52)
CIE-LCHlch(69.68, 62.34, 99.30°)
OKLaboklab(73.52% -0.0343 0.1355)
OKLCHoklch(73.52% 0.14 104.2)
XYZxyz(35.2458, 40.2923, 8.7164)
Luminance0.4029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AD30 #303BB8
analogous
#B86930 #B8AD30 #7FB830
triadic
#B8AD30 #30B8AD #AD30B8
tetradic
#B8AD30 #30B869 #303BB8 #B8307F
square
#B8AD30 #30B869 #303BB8 #B8307F
split-complementary
#B8AD30 #307FB8 #6930B8
monochromatic
#575217 #877F23 #B8AD30 #D2C853 #DFD784

Accessibility & contrast

On white

2.32
#B8AD30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#B8AD30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AD30
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AD30#FFFFFF#000000##000000
##B8AD301.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#C0AD39
Tritanopia (blue-blind)
#C6A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ad30;
/* rgb */ color: rgb(184, 173, 48);
/* oklch */ color: oklch(73.5% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#d1c572',
    500: '#b8ad30',
    950: '#000000',
  },
}
SCSS
$custom: #b8ad30;
$custom-light: #d1c572;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ad30",
  "rgb": {
    "r": 184,
    "g": 173,
    "b": 48
  },
  "hsl": {
    "h": 55.147,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73515,
    "c": 0.13976,
    "h": 104.2
  },
  "luminance": 0.40291
}

Semantic roles & 50–950 ramp

primary
#B8AD30
secondary
#7C82C8
accent
#53E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AD30

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

Preview Lab → · Contrast checker → · Palette generator →

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