#B8AE37#B8AE37

#B8AE37 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.136 H 104.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#B8AE37
RGBrgb(184, 174, 55)
HSLhsl(55, 54%, 47%)
HSVhsv(55, 70%, 72%)
CMYKcmyk(0%, 5.4%, 70.1%, 27.8%)
CIE-LABlab(69.99, -10.26, 59.24)
CIE-LCHlch(69.99, 60.12, 99.83°)
OKLaboklab(73.78% -0.0341 0.1319)
OKLCHoklch(73.78% 0.136 104.5)
XYZxyz(35.5943, 40.7397, 9.6023)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE37 #3741B8
analogous
#B86E37 #B8AE37 #82B837
triadic
#B8AE37 #37B8AE #AE37B8
tetradic
#B8AE37 #37B86E #3741B8 #B83782
square
#B8AE37 #37B86E #3741B8 #B83782
split-complementary
#B8AE37 #3782B8 #6E37B8
monochromatic
#5A551B #898129 #B8AE37 #CFC65D #DDD78D

Accessibility & contrast

On white

2.30
#B8AE37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#B8AE37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE37
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE37#FFFFFF#000000##000000
##B8AE371.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA824
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#C6A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae37;
/* rgb */ color: rgb(184, 174, 55);
/* oklch */ color: oklch(73.8% 0.136 104.5);
Tailwind
colors: {
  custom: {
    50: '#d1c575',
    500: '#b8ae37',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae37;
$custom-light: #d1c575;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae37",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 55.349,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7378,
    "c": 0.13627,
    "h": 104.5
  },
  "luminance": 0.40738
}

Semantic roles & 50–950 ramp

primary
#B8AE37
secondary
#8489C7
accent
#56DD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AE37

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

Preview Lab → · Contrast checker → · Palette generator →

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