#B7AE47#B7AE47

#B7AE47 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.124 H 104.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B7AE47
RGBrgb(183, 174, 71)
HSLhsl(55, 44%, 50%)
HSVhsv(55, 61%, 72%)
CMYKcmyk(0%, 4.9%, 61.2%, 28.2%)
CIE-LABlab(70.03, -9.73, 52.58)
CIE-LCHlch(70.03, 53.47, 100.48°)
OKLaboklab(73.83% -0.0307 0.1204)
OKLCHoklch(73.83% 0.124 104.3)
XYZxyz(35.8031, 40.7956, 11.9484)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE47 #4750B7
analogous
#B77647 #B7AE47 #88B747
triadic
#B7AE47 #47B7AE #AE47B7
tetradic
#B7AE47 #47B776 #4750B7 #B74788
square
#B7AE47 #47B776 #4750B7 #B74788
split-complementary
#B7AE47 #4788B7 #7647B7
monochromatic
#5F5A25 #8B8436 #B7AE47 #C9C273 #DAD59F

Accessibility & contrast

On white

2.29
#B7AE47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B7AE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE47
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE47#FFFFFF#000000##000000
##B7AE471.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83B
Deuteranopia (green-blind)
#BFAD4D
Tritanopia (blue-blind)
#C4A398
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae47;
/* rgb */ color: rgb(183, 174, 71);
/* oklch */ color: oklch(73.8% 0.124 104.3);
Tailwind
colors: {
  custom: {
    50: '#cfc57e',
    500: '#b7ae47',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae47;
$custom-light: #cfc57e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae47",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 71
  },
  "hsl": {
    "h": 55.179,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73831,
    "c": 0.12428,
    "h": 104.3
  },
  "luminance": 0.40794
}

Semantic roles & 50–950 ramp

primary
#B7AE47
secondary
#9498C6
accent
#5ED454
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AE47

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

Preview Lab → · Contrast checker → · Palette generator →

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