#B7AD34#B7AD34

#B7AD34 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.5% C 0.137 H 104.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#B7AD34
RGBrgb(183, 173, 52)
HSLhsl(55, 56%, 46%)
HSVhsv(55, 72%, 72%)
CMYKcmyk(0%, 5.5%, 71.6%, 28.2%)
CIE-LABlab(69.61, -10.33, 59.98)
CIE-LCHlch(69.61, 60.86, 99.77°)
OKLaboklab(73.45% -0.0345 0.133)
OKLCHoklch(73.45% 0.137 104.6)
XYZxyz(35.0933, 40.2037, 9.1597)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AD34 #343EB7
analogous
#B76B34 #B7AD34 #7FB734
triadic
#B7AD34 #34B7AD #AD34B7
tetradic
#B7AD34 #34B76B #343EB7 #B7347F
square
#B7AD34 #34B76B #343EB7 #B7347F
split-complementary
#B7AD34 #347FB7 #6B34B7
monochromatic
#585319 #878026 #B7AD34 #D0C759 #DDD788

Accessibility & contrast

On white

2.32
#B7AD34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#B7AD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AD34
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AD34#FFFFFF#000000##000000
##B7AD341.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA720
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#C5A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b7ad34;
/* rgb */ color: rgb(183, 173, 52);
/* oklch */ color: oklch(73.5% 0.137 104.6);
Tailwind
colors: {
  custom: {
    50: '#d0c574',
    500: '#b7ad34',
    950: '#000000',
  },
}
SCSS
$custom: #b7ad34;
$custom-light: #d0c574;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ad34",
  "rgb": {
    "r": 183,
    "g": 173,
    "b": 52
  },
  "hsl": {
    "h": 55.42,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73452,
    "c": 0.1374,
    "h": 104.6
  },
  "luminance": 0.40202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7AD34

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

Preview Lab → · Contrast checker → · Palette generator →

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