#B7AE3A#B7AE3A

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

Color values

HEX#B7AE3A
RGBrgb(183, 174, 58)
HSLhsl(56, 52%, 47%)
HSVhsv(56, 68%, 72%)
CMYKcmyk(0%, 4.9%, 68.3%, 28.2%)
CIE-LABlab(69.93, -10.53, 57.97)
CIE-LCHlch(69.93, 58.92, 100.30°)
OKLaboklab(73.71% -0.0345 0.1298)
OKLCHoklch(73.71% 0.134 104.9)
XYZxyz(35.4296, 40.6462, 9.9814)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE3A #3A43B7
analogous
#B7703A #B7AE3A #82B73A
triadic
#B7AE3A #3AB7AE #AE3AB7
tetradic
#B7AE3A #3AB770 #3A43B7 #B73A82
square
#B7AE3A #3AB770 #3A43B7 #B73A82
split-complementary
#B7AE3A #3A82B7 #703AB7
monochromatic
#5A561D #89822B #B7AE3A #CDC561 #DCD690

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AE3A#FFFFFF#000000##000000
##B7AE3A1.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)
#BDA829
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#C4A297
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae3a;
/* rgb */ color: rgb(183, 174, 58);
/* oklch */ color: oklch(73.7% 0.134 104.9);
Tailwind
colors: {
  custom: {
    50: '#d0c577',
    500: '#b7ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae3a;
$custom-light: #d0c577;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae3a",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 55.68,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73714,
    "c": 0.13431,
    "h": 104.9
  },
  "luminance": 0.40645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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