#B7AE2B#B7AE2B

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

Color values

HEX#B7AE2B
RGBrgb(183, 174, 43)
HSLhsl(56, 62%, 44%)
HSVhsv(56, 77%, 72%)
CMYKcmyk(0%, 4.9%, 76.5%, 28.2%)
CIE-LABlab(69.83, -11.25, 63.34)
CIE-LCHlch(69.83, 64.33, 100.07°)
OKLaboklab(73.61% -0.038 0.1385)
OKLCHoklch(73.61% 0.144 105.3)
XYZxyz(35.1020, 40.5152, 8.2562)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE2B #2B34B7
analogous
#B7682B #B7AE2B #7AB72B
triadic
#B7AE2B #2BB7AE #AE2BB7
tetradic
#B7AE2B #2BB768 #2B34B7 #B72B7A
square
#B7AE2B #2BB768 #2B34B7 #B72B7A
split-complementary
#B7AE2B #2B7AB7 #682BB7
monochromatic
#545014 #857F1F #B7AE2B #D5CC4B #E0DA7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AE2B#FFFFFF#000000##000000
##B7AE2B1.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)
#BEA80B
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#C5A295
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae2b;
/* rgb */ color: rgb(183, 174, 43);
/* oklch */ color: oklch(73.6% 0.144 105.3);
Tailwind
colors: {
  custom: {
    50: '#d0c56f',
    500: '#b7ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae2b;
$custom-light: #d0c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae2b",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 56.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73611,
    "c": 0.14356,
    "h": 105.3
  },
  "luminance": 0.40514
}

Semantic roles & 50–950 ramp

primary
#B7AE2B
secondary
#757BC9
accent
#4DE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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