#B8AE2F#B8AE2F

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

Color values

HEX#B8AE2F
RGBrgb(184, 174, 47)
HSLhsl(56, 59%, 45%)
HSVhsv(56, 74%, 72%)
CMYKcmyk(0%, 5.4%, 74.5%, 27.8%)
CIE-LABlab(69.94, -10.64, 62.13)
CIE-LCHlch(69.94, 63.03, 99.72°)
OKLaboklab(73.72% -0.0359 0.1366)
OKLCHoklch(73.72% 0.141 104.7)
XYZxyz(35.4178, 40.6691, 8.6731)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE2F #2F39B8
analogous
#B8692F #B8AE2F #7EB82F
triadic
#B8AE2F #2FB8AE #AE2FB8
tetradic
#B8AE2F #2FB869 #2F39B8 #B82F7E
square
#B8AE2F #2FB869 #2F39B8 #B82F7E
split-complementary
#B8AE2F #2F7EB8 #692FB8
monochromatic
#575216 #878023 #B8AE2F #D3C952 #DFD882

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AE2F#FFFFFF#000000##000000
##B8AE2F1.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)
#BEA815
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#C6A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b8ae2f;
/* rgb */ color: rgb(184, 174, 47);
/* oklch */ color: oklch(73.7% 0.141 104.7);
Tailwind
colors: {
  custom: {
    50: '#d1c571',
    500: '#b8ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae2f;
$custom-light: #d1c571;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae2f",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 55.62,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73725,
    "c": 0.14123,
    "h": 104.7
  },
  "luminance": 0.40668
}

Semantic roles & 50–950 ramp

primary
#B8AE2F
secondary
#7B80C8
accent
#51E245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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