#B8AE38#B8AE38

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

Color values

HEX#B8AE38
RGBrgb(184, 174, 56)
HSLhsl(55, 53%, 47%)
HSVhsv(55, 70%, 72%)
CMYKcmyk(0%, 5.4%, 69.6%, 27.8%)
CIE-LABlab(70.00, -10.21, 58.86)
CIE-LCHlch(70.00, 59.74, 99.84°)
OKLaboklab(73.79% -0.0338 0.1313)
OKLCHoklch(73.79% 0.136 104.4)
XYZxyz(35.6185, 40.7493, 9.7298)
Luminance0.4075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE38 #3842B8
analogous
#B86E38 #B8AE38 #82B838
triadic
#B8AE38 #38B8AE #AE38B8
tetradic
#B8AE38 #38B86E #3842B8 #B83882
square
#B8AE38 #38B86E #3842B8 #B83882
split-complementary
#B8AE38 #3882B8 #6E38B8
monochromatic
#5A551B #89822A #B8AE38 #CEC65F #DDD68E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AE38#FFFFFF#000000##000000
##B8AE381.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)
#BDA826
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#C6A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae38;
/* rgb */ color: rgb(184, 174, 56);
/* oklch */ color: oklch(73.8% 0.136 104.4);
Tailwind
colors: {
  custom: {
    50: '#d1c576',
    500: '#b8ae38',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae38;
$custom-light: #d1c576;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae38",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 55.313,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.1356,
    "h": 104.4
  },
  "luminance": 0.40748
}

Semantic roles & 50–950 ramp

primary
#B8AE38
secondary
#858AC7
accent
#56DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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