#B8AE39#B8AE39

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

Color values

HEX#B8AE39
RGBrgb(184, 174, 57)
HSLhsl(55, 53%, 47%)
HSVhsv(55, 69%, 72%)
CMYKcmyk(0%, 5.4%, 69%, 27.8%)
CIE-LABlab(70.01, -10.15, 58.48)
CIE-LCHlch(70.01, 59.35, 99.85°)
OKLaboklab(73.8% -0.0336 0.1307)
OKLCHoklch(73.8% 0.135 104.4)
XYZxyz(35.6432, 40.7592, 9.8599)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE39 #3943B8
analogous
#B86F39 #B8AE39 #82B839
triadic
#B8AE39 #39B8AE #AE39B8
tetradic
#B8AE39 #39B86F #3943B8 #B83982
square
#B8AE39 #39B86F #3943B8 #B83982
split-complementary
#B8AE39 #3982B8 #6F39B8
monochromatic
#5B561C #89822B #B8AE39 #CEC560 #DCD68F

Accessibility & contrast

On white

2.29
#B8AE39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AE39#FFFFFF#000000##000000
##B8AE391.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA828
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#C6A297
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae39;
/* rgb */ color: rgb(184, 174, 57);
/* oklch */ color: oklch(73.8% 0.135 104.4);
Tailwind
colors: {
  custom: {
    50: '#d1c576',
    500: '#b8ae39',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae39;
$custom-light: #d1c576;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae39",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 57
  },
  "hsl": {
    "h": 55.276,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73795,
    "c": 0.13491,
    "h": 104.4
  },
  "luminance": 0.40758
}

Semantic roles & 50–950 ramp

primary
#B8AE39
secondary
#868BC7
accent
#57DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AE39

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

Preview Lab → · Contrast checker → · Palette generator →

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