#B7AE2A#B7AE2A

#B7AE2A is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.144 H 105.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#B7AE2A
RGBrgb(183, 174, 42)
HSLhsl(56, 63%, 44%)
HSVhsv(56, 77%, 72%)
CMYKcmyk(0%, 4.9%, 77%, 28.2%)
CIE-LABlab(69.83, -11.29, 63.66)
CIE-LCHlch(69.83, 64.65, 100.05°)
OKLaboklab(73.61% -0.0382 0.1389)
OKLCHoklch(73.61% 0.144 105.4)
XYZxyz(35.0839, 40.5079, 8.1608)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE2A #2A33B7
analogous
#B7682A #B7AE2A #7AB72A
triadic
#B7AE2A #2AB7AE #AE2AB7
tetradic
#B7AE2A #2AB768 #2A33B7 #B72A7A
square
#B7AE2A #2AB768 #2A33B7 #B72A7A
split-complementary
#B7AE2A #2A7AB7 #682AB7
monochromatic
#534F13 #857F1F #B7AE2A #D5CC49 #E1DA7B

Accessibility & contrast

On white

2.31
#B7AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#B7AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE2A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE2A#FFFFFF#000000##000000
##B7AE2A1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA807
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#C5A295
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae2a;
/* rgb */ color: rgb(183, 174, 42);
/* oklch */ color: oklch(73.6% 0.144 105.4);
Tailwind
colors: {
  custom: {
    50: '#d0c56f',
    500: '#b7ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae2a;
$custom-light: #d0c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae2a",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 56.17,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73605,
    "c": 0.14409,
    "h": 105.4
  },
  "luminance": 0.40507
}

Semantic roles & 50–950 ramp

primary
#B7AE2A
secondary
#7479C9
accent
#4DE642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B7AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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