#B8AE3D#B8AE3D

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

Color values

HEX#B8AE3D
RGBrgb(184, 174, 61)
HSLhsl(55, 50%, 48%)
HSVhsv(55, 67%, 72%)
CMYKcmyk(0%, 5.4%, 66.8%, 27.8%)
CIE-LABlab(70.04, -9.93, 56.90)
CIE-LCHlch(70.04, 57.76, 99.90°)
OKLaboklab(73.83% -0.0325 0.128)
OKLCHoklch(73.83% 0.132 104.2)
XYZxyz(35.7469, 40.8007, 10.4063)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE3D #3D47B8
analogous
#B8703D #B8AE3D #84B83D
triadic
#B8AE3D #3DB8AE #AE3DB8
tetradic
#B8AE3D #3DB870 #3D47B8 #B83D84
square
#B8AE3D #3DB870 #3D47B8 #B83D84
split-complementary
#B8AE3D #3D84B8 #703DB8
monochromatic
#5C571F #8A832E #B8AE3D #CCC466 #DBD694

Accessibility & contrast

On white

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

On black

9.16
#B8AE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE3D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE3D#FFFFFF#000000##000000
##B8AE3D1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82E
Deuteranopia (green-blind)
#C0AE44
Tritanopia (blue-blind)
#C5A297
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae3d;
/* rgb */ color: rgb(184, 174, 61);
/* oklch */ color: oklch(73.8% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#d0c579',
    500: '#b8ae3d',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae3d;
$custom-light: #d0c579;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae3d",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 61
  },
  "hsl": {
    "h": 55.122,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73828,
    "c": 0.13207,
    "h": 104.2
  },
  "luminance": 0.40799
}

Semantic roles & 50–950 ramp

primary
#B8AE3D
secondary
#8A8FC7
accent
#59DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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