#B7AE46#B7AE46

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

Color values

HEX#B7AE46
RGBrgb(183, 174, 70)
HSLhsl(55, 45%, 50%)
HSVhsv(55, 62%, 72%)
CMYKcmyk(0%, 4.9%, 61.7%, 28.2%)
CIE-LABlab(70.02, -9.80, 53.01)
CIE-LCHlch(70.02, 53.91, 100.47°)
OKLaboklab(73.82% -0.031 0.1212)
OKLCHoklch(73.82% 0.125 104.4)
XYZxyz(35.7713, 40.7829, 11.7808)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE46 #464FB7
analogous
#B77546 #B7AE46 #88B746
triadic
#B7AE46 #46B7AE #AE46B7
tetradic
#B7AE46 #46B775 #464FB7 #B74688
square
#B7AE46 #46B775 #464FB7 #B74688
split-complementary
#B7AE46 #4688B7 #7546B7
monochromatic
#5E5A24 #8B8435 #B7AE46 #C9C271 #DAD59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AE46#FFFFFF#000000##000000
##B7AE461.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)
#BCA83A
Deuteranopia (green-blind)
#C0AD4C
Tritanopia (blue-blind)
#C4A398
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae46;
/* rgb */ color: rgb(183, 174, 70);
/* oklch */ color: oklch(73.8% 0.125 104.4);
Tailwind
colors: {
  custom: {
    50: '#cfc57e',
    500: '#b7ae46',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae46;
$custom-light: #cfc57e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae46",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 70
  },
  "hsl": {
    "h": 55.221,
    "s": 44.664,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73821,
    "c": 0.12512,
    "h": 104.4
  },
  "luminance": 0.40782
}

Semantic roles & 50–950 ramp

primary
#B7AE46
secondary
#9397C6
accent
#5ED453
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AE46

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

Preview Lab → · Contrast checker → · Palette generator →

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