#B7AE3C#B7AE3C

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

Color values

HEX#B7AE3C
RGBrgb(183, 174, 60)
HSLhsl(56, 51%, 48%)
HSVhsv(56, 67%, 72%)
CMYKcmyk(0%, 4.9%, 67.2%, 28.2%)
CIE-LABlab(69.94, -10.42, 57.18)
CIE-LCHlch(69.94, 58.12, 100.33°)
OKLaboklab(73.73% -0.0339 0.1285)
OKLCHoklch(73.73% 0.133 104.8)
XYZxyz(35.4815, 40.6669, 10.2546)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE3C #3C45B7
analogous
#B7713C #B7AE3C #82B73C
triadic
#B7AE3C #3CB7AE #AE3CB7
tetradic
#B7AE3C #3CB771 #3C45B7 #B73C82
square
#B7AE3C #3CB771 #3C45B7 #B73C82
split-complementary
#B7AE3C #3C82B7 #713CB7
monochromatic
#5B561E #89822D #B7AE3C #CCC564 #DBD692

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AE3C#FFFFFF#000000##000000
##B7AE3C1.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)
#BDA82C
Deuteranopia (green-blind)
#C0AD43
Tritanopia (blue-blind)
#C4A297
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae3c;
/* rgb */ color: rgb(183, 174, 60);
/* oklch */ color: oklch(73.7% 0.133 104.8);
Tailwind
colors: {
  custom: {
    50: '#d0c578',
    500: '#b7ae3c',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae3c;
$custom-light: #d0c578;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae3c",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 55.61,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7373,
    "c": 0.13289,
    "h": 104.8
  },
  "luminance": 0.40666
}

Semantic roles & 50–950 ramp

primary
#B7AE3C
secondary
#888DC6
accent
#58DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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