#B7AD2A#B7AD2A

#B7AD2A is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.4% C 0.143 H 104.9°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B7AD2A
RGBrgb(183, 173, 42)
HSLhsl(56, 63%, 44%)
HSVhsv(56, 77%, 72%)
CMYKcmyk(0%, 5.5%, 77%, 28.2%)
CIE-LABlab(69.56, -10.77, 63.41)
CIE-LCHlch(69.56, 64.32, 99.64°)
OKLaboklab(73.39% -0.0367 0.1384)
OKLCHoklch(73.39% 0.143 104.9)
XYZxyz(34.8915, 40.1230, 8.0967)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AD2A #2A34B7
analogous
#B7672A #B7AD2A #7BB72A
triadic
#B7AD2A #2AB7AD #AD2AB7
tetradic
#B7AD2A #2AB767 #2A34B7 #B72A7B
square
#B7AD2A #2AB767 #2A34B7 #B72A7B
split-complementary
#B7AD2A #2A7BB7 #672AB7
monochromatic
#534F13 #857E1F #B7AD2A #D5CB49 #E1D97B

Accessibility & contrast

On white

2.33
#B7AD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#B7AD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AD2A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AD2A#FFFFFF#000000##000000
##B7AD2A1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA708
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#C5A194
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b7ad2a;
/* rgb */ color: rgb(183, 173, 42);
/* oklch */ color: oklch(73.4% 0.143 104.9);
Tailwind
colors: {
  custom: {
    50: '#d0c56f',
    500: '#b7ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #b7ad2a;
$custom-light: #d0c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ad2a",
  "rgb": {
    "r": 183,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 55.745,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73388,
    "c": 0.1432,
    "h": 104.9
  },
  "luminance": 0.40122
}

Semantic roles & 50–950 ramp

primary
#B7AD2A
secondary
#747AC9
accent
#4EE642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B7AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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