#B7AD2B#B7AD2B

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

Color values

HEX#B7AD2B
RGBrgb(183, 173, 43)
HSLhsl(56, 62%, 44%)
HSVhsv(56, 77%, 72%)
CMYKcmyk(0%, 5.5%, 76.5%, 28.2%)
CIE-LABlab(69.56, -10.73, 63.09)
CIE-LCHlch(69.56, 63.99, 99.65°)
OKLaboklab(73.39% -0.0365 0.1379)
OKLCHoklch(73.39% 0.143 104.8)
XYZxyz(34.9096, 40.1302, 8.1921)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AD2B #2B35B7
analogous
#B7672B #B7AD2B #7BB72B
triadic
#B7AD2B #2BB7AD #AD2BB7
tetradic
#B7AD2B #2BB767 #2B35B7 #B72B7B
square
#B7AD2B #2BB767 #2B35B7 #B72B7B
split-complementary
#B7AD2B #2B7BB7 #672BB7
monochromatic
#544F14 #857E1F #B7AD2B #D5CB4B #E0D97C

Accessibility & contrast

On white

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

On black

9.03
#B7AD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AD2B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AD2B#FFFFFF#000000##000000
##B7AD2B1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ad2b;
/* rgb */ color: rgb(183, 173, 43);
/* oklch */ color: oklch(73.4% 0.143 104.8);
Tailwind
colors: {
  custom: {
    50: '#d0c56f',
    500: '#b7ad2b',
    950: '#000000',
  },
}
SCSS
$custom: #b7ad2b;
$custom-light: #d0c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ad2b",
  "rgb": {
    "r": 183,
    "g": 173,
    "b": 43
  },
  "hsl": {
    "h": 55.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73393,
    "c": 0.14266,
    "h": 104.8
  },
  "luminance": 0.40129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7AD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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