#B7AD2E#B7AD2E

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

Color values

HEX#B7AD2E
RGBrgb(183, 173, 46)
HSLhsl(56, 60%, 45%)
HSVhsv(56, 75%, 72%)
CMYKcmyk(0%, 5.5%, 74.9%, 28.2%)
CIE-LABlab(69.58, -10.60, 62.10)
CIE-LCHlch(69.58, 63.00, 99.69°)
OKLaboklab(73.41% -0.0359 0.1364)
OKLCHoklch(73.41% 0.141 104.7)
XYZxyz(34.9667, 40.1531, 8.4927)
Luminance0.4015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AD2E #2E38B7
analogous
#B7682E #B7AD2E #7DB72E
triadic
#B7AD2E #2EB7AD #AD2EB7
tetradic
#B7AD2E #2EB768 #2E38B7 #B72E7D
square
#B7AD2E #2EB768 #2E38B7 #B72E7D
split-complementary
#B7AD2E #2E7DB7 #682EB7
monochromatic
#555115 #867F22 #B7AD2E #D3C94F #DFD880

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b7ad2e;
/* rgb */ color: rgb(183, 173, 46);
/* oklch */ color: oklch(73.4% 0.141 104.7);
Tailwind
colors: {
  custom: {
    50: '#d0c571',
    500: '#b7ad2e',
    950: '#000000',
  },
}
SCSS
$custom: #b7ad2e;
$custom-light: #d0c571;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ad2e",
  "rgb": {
    "r": 183,
    "g": 173,
    "b": 46
  },
  "hsl": {
    "h": 55.62,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73411,
    "c": 0.14101,
    "h": 104.7
  },
  "luminance": 0.40152
}

Semantic roles & 50–950 ramp

primary
#B7AD2E
secondary
#797FC8
accent
#50E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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