#B7AE34#B7AE34

#B7AE34 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.138 H 105.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#B7AE34
RGBrgb(183, 174, 52)
HSLhsl(56, 56%, 46%)
HSVhsv(56, 72%, 72%)
CMYKcmyk(0%, 4.9%, 71.6%, 28.2%)
CIE-LABlab(69.89, -10.85, 60.24)
CIE-LCHlch(69.89, 61.21, 100.21°)
OKLaboklab(73.67% -0.036 0.1336)
OKLCHoklch(73.67% 0.138 105.1)
XYZxyz(35.2858, 40.5887, 9.2239)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE34 #343DB7
analogous
#B76C34 #B7AE34 #7EB734
triadic
#B7AE34 #34B7AE #AE34B7
tetradic
#B7AE34 #34B76C #343DB7 #B7347E
square
#B7AE34 #34B76C #343DB7 #B7347E
split-complementary
#B7AE34 #347EB7 #6C34B7
monochromatic
#585319 #878126 #B7AE34 #D0C859 #DDD788

Accessibility & contrast

On white

2.30
#B7AE34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#B7AE34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE34
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE34#FFFFFF#000000##000000
##B7AE341.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ae34;
/* rgb */ color: rgb(183, 174, 52);
/* oklch */ color: oklch(73.7% 0.138 105.1);
Tailwind
colors: {
  custom: {
    50: '#d0c574',
    500: '#b7ae34',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae34;
$custom-light: #d0c574;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae34",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 52
  },
  "hsl": {
    "h": 55.878,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73668,
    "c": 0.13831,
    "h": 105.1
  },
  "luminance": 0.40587
}

Semantic roles & 50–950 ramp

primary
#B7AE34
secondary
#8085C7
accent
#53DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AE34

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

Preview Lab → · Contrast checker → · Palette generator →

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