#B7AD2D#B7AD2D

#B7AD2D 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#B7AD2D
RGBrgb(183, 173, 45)
HSLhsl(56, 61%, 45%)
HSVhsv(56, 75%, 72%)
CMYKcmyk(0%, 5.5%, 75.4%, 28.2%)
CIE-LABlab(69.57, -10.65, 62.43)
CIE-LCHlch(69.57, 63.33, 99.68°)
OKLaboklab(73.41% -0.0361 0.1369)
OKLCHoklch(73.41% 0.142 104.8)
XYZxyz(34.9472, 40.1453, 8.3901)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AD2D #2D37B7
analogous
#B7682D #B7AD2D #7CB72D
triadic
#B7AD2D #2DB7AD #AD2DB7
tetradic
#B7AD2D #2DB768 #2D37B7 #B72D7C
square
#B7AD2D #2DB768 #2D37B7 #B72D7C
split-complementary
#B7AD2D #2D7CB7 #682DB7
monochromatic
#555015 #867F21 #B7AD2D #D3CA4E #DFD87F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AD2D#FFFFFF#000000##000000
##B7AD2D1.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)
#BDA711
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#C5A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b7ad2d;
/* rgb */ color: rgb(183, 173, 45);
/* oklch */ color: oklch(73.4% 0.142 104.8);
Tailwind
colors: {
  custom: {
    50: '#d0c570',
    500: '#b7ad2d',
    950: '#000000',
  },
}
SCSS
$custom: #b7ad2d;
$custom-light: #d0c570;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ad2d",
  "rgb": {
    "r": 183,
    "g": 173,
    "b": 45
  },
  "hsl": {
    "h": 55.652,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73405,
    "c": 0.14158,
    "h": 104.8
  },
  "luminance": 0.40144
}

Semantic roles & 50–950 ramp

primary
#B7AD2D
secondary
#787DC8
accent
#50E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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