#B7AE45#B7AE45

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

Color values

HEX#B7AE45
RGBrgb(183, 174, 69)
HSLhsl(55, 45%, 49%)
HSVhsv(55, 62%, 72%)
CMYKcmyk(0%, 4.9%, 62.3%, 28.2%)
CIE-LABlab(70.01, -9.86, 53.45)
CIE-LCHlch(70.01, 54.35, 100.46°)
OKLaboklab(73.81% -0.0314 0.122)
OKLCHoklch(73.81% 0.126 104.4)
XYZxyz(35.7400, 40.7703, 11.6159)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE45 #454EB7
analogous
#B77545 #B7AE45 #87B745
triadic
#B7AE45 #45B7AE #AE45B7
tetradic
#B7AE45 #45B775 #454EB7 #B74587
square
#B7AE45 #45B775 #454EB7 #B74587
split-complementary
#B7AE45 #4587B7 #7545B7
monochromatic
#5E5923 #8B8434 #B7AE45 #C9C270 #DAD59D

Accessibility & contrast

On white

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

On black

9.15
#B7AE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE45
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE45#FFFFFF#000000##000000
##B7AE451.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ae45;
/* rgb */ color: rgb(183, 174, 69);
/* oklch */ color: oklch(73.8% 0.126 104.4);
Tailwind
colors: {
  custom: {
    50: '#cfc57d',
    500: '#b7ae45',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae45;
$custom-light: #cfc57d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae45",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 69
  },
  "hsl": {
    "h": 55.263,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73811,
    "c": 0.12594,
    "h": 104.4
  },
  "luminance": 0.40769
}

Semantic roles & 50–950 ramp

primary
#B7AE45
secondary
#9296C6
accent
#5DD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AE45

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

Preview Lab → · Contrast checker → · Palette generator →

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