#B8AE2C#B8AE2C

#B8AE2C is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.143 H 104.8°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#B8AE2C
RGBrgb(184, 174, 44)
HSLhsl(56, 61%, 45%)
HSVhsv(56, 76%, 72%)
CMYKcmyk(0%, 5.4%, 76.1%, 27.8%)
CIE-LABlab(69.93, -10.77, 63.13)
CIE-LCHlch(69.93, 64.04, 99.68°)
OKLaboklab(73.71% -0.0366 0.1381)
OKLCHoklch(73.71% 0.143 104.8)
XYZxyz(35.3594, 40.6457, 8.3652)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE2C #2C36B8
analogous
#B8682C #B8AE2C #7CB82C
triadic
#B8AE2C #2CB8AE #AE2CB8
tetradic
#B8AE2C #2CB868 #2C36B8 #B82C7C
square
#B8AE2C #2CB868 #2C36B8 #B82C7C
split-complementary
#B8AE2C #2C7CB8 #682CB8
monochromatic
#555114 #877F20 #B8AE2C #D4CB4D #E0D97E

Accessibility & contrast

On white

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

On black

9.13
#B8AE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE2C
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE2C#FFFFFF#000000##000000
##B8AE2C1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA80E
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#C6A295
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae2c;
/* rgb */ color: rgb(184, 174, 44);
/* oklch */ color: oklch(73.7% 0.143 104.8);
Tailwind
colors: {
  custom: {
    50: '#d1c570',
    500: '#b8ae2c',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae2c;
$custom-light: #d1c570;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae2c",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 55.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73706,
    "c": 0.1429,
    "h": 104.8
  },
  "luminance": 0.40644
}

Semantic roles & 50–950 ramp

primary
#B8AE2C
secondary
#777DC9
accent
#4FE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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