#B7AE40#B7AE40

#B7AE40 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.130 H 104.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B7AE40
RGBrgb(183, 174, 64)
HSLhsl(55, 48%, 48%)
HSVhsv(55, 65%, 72%)
CMYKcmyk(0%, 4.9%, 65%, 28.2%)
CIE-LABlab(69.97, -10.18, 55.56)
CIE-LCHlch(69.97, 56.48, 100.39°)
OKLaboklab(73.76% -0.0328 0.1257)
OKLCHoklch(73.76% 0.13 104.6)
XYZxyz(35.5912, 40.7108, 10.8327)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE40 #4049B7
analogous
#B77240 #B7AE40 #84B740
triadic
#B7AE40 #40B7AE #AE40B7
tetradic
#B7AE40 #40B772 #4049B7 #B74084
square
#B7AE40 #40B772 #4049B7 #B74084
split-complementary
#B7AE40 #4084B7 #7240B7
monochromatic
#5C5820 #8A8330 #B7AE40 #CBC369 #DBD597

Accessibility & contrast

On white

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

On black

9.14
#B7AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE40
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE40#FFFFFF#000000##000000
##B7AE401.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C0AD47
Tritanopia (blue-blind)
#C4A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae40;
/* rgb */ color: rgb(183, 174, 64);
/* oklch */ color: oklch(73.8% 0.130 104.6);
Tailwind
colors: {
  custom: {
    50: '#d0c57a',
    500: '#b7ae40',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae40;
$custom-light: #d0c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae40",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 55.462,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73764,
    "c": 0.12991,
    "h": 104.6
  },
  "luminance": 0.4071
}

Semantic roles & 50–950 ramp

primary
#B7AE40
secondary
#8D91C6
accent
#5AD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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