#B7AD2C#B7AD2C

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

Color values

HEX#B7AD2C
RGBrgb(183, 173, 44)
HSLhsl(56, 61%, 45%)
HSVhsv(56, 76%, 72%)
CMYKcmyk(0%, 5.5%, 76%, 28.2%)
CIE-LABlab(69.57, -10.69, 62.76)
CIE-LCHlch(69.57, 63.67, 99.66°)
OKLaboklab(73.4% -0.0363 0.1374)
OKLCHoklch(73.4% 0.142 104.8)
XYZxyz(34.9281, 40.1377, 8.2899)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AD2C #2C36B7
analogous
#B7672C #B7AD2C #7CB72C
triadic
#B7AD2C #2CB7AD #AD2CB7
tetradic
#B7AD2C #2CB767 #2C36B7 #B72C7C
square
#B7AD2C #2CB767 #2C36B7 #B72C7C
split-complementary
#B7AD2C #2C7CB7 #672CB7
monochromatic
#545014 #867E20 #B7AD2C #D4CA4C #E0D97E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AD2C#FFFFFF#000000##000000
##B7AD2C1.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)
#BDA70E
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#C5A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b7ad2c;
/* rgb */ color: rgb(183, 173, 44);
/* oklch */ color: oklch(73.4% 0.142 104.8);
Tailwind
colors: {
  custom: {
    50: '#d0c570',
    500: '#b7ad2c',
    950: '#000000',
  },
}
SCSS
$custom: #b7ad2c;
$custom-light: #d0c570;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ad2c",
  "rgb": {
    "r": 183,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 55.683,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73399,
    "c": 0.14213,
    "h": 104.8
  },
  "luminance": 0.40136
}

Semantic roles & 50–950 ramp

primary
#B7AD2C
secondary
#767CC8
accent
#4FE443
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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