#B7AE2D#B7AE2D

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

Color values

HEX#B7AE2D
RGBrgb(183, 174, 45)
HSLhsl(56, 61%, 45%)
HSVhsv(56, 75%, 72%)
CMYKcmyk(0%, 4.9%, 75.4%, 28.2%)
CIE-LABlab(69.85, -11.17, 62.69)
CIE-LCHlch(69.85, 63.67, 100.10°)
OKLaboklab(73.62% -0.0376 0.1374)
OKLCHoklch(73.62% 0.142 105.3)
XYZxyz(35.1396, 40.5302, 8.4542)
Luminance0.4053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE2D #2D36B7
analogous
#B7692D #B7AE2D #7BB72D
triadic
#B7AE2D #2DB7AE #AE2DB7
tetradic
#B7AE2D #2DB769 #2D36B7 #B72D7B
square
#B7AE2D #2DB769 #2D36B7 #B72D7B
split-complementary
#B7AE2D #2D7BB7 #692DB7
monochromatic
#555115 #867F21 #B7AE2D #D3CB4E #DFD97F

Accessibility & contrast

On white

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

On black

9.11
#B7AE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE2D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE2D#FFFFFF#000000##000000
##B7AE2D1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA811
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#C5A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae2d;
/* rgb */ color: rgb(183, 174, 45);
/* oklch */ color: oklch(73.6% 0.142 105.3);
Tailwind
colors: {
  custom: {
    50: '#d0c570',
    500: '#b7ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae2d;
$custom-light: #d0c570;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae2d",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 56.087,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73622,
    "c": 0.14248,
    "h": 105.3
  },
  "luminance": 0.40529
}

Semantic roles & 50–950 ramp

primary
#B7AE2D
secondary
#787DC8
accent
#4FE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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