#B7A02B#B7A02B

#B7A02B is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.132 H 97.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B7A02B
RGBrgb(183, 160, 43)
HSLhsl(50, 62%, 44%)
HSVhsv(50, 77%, 72%)
CMYKcmyk(0%, 12.6%, 76.5%, 28.2%)
CIE-LABlab(66.05, -3.88, 59.84)
CIE-LCHlch(66.05, 59.96, 93.71°)
OKLaboklab(70.6% -0.0172 0.131)
OKLCHoklch(70.6% 0.132 97.5)
XYZxyz(32.5370, 35.3850, 7.4012)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A02B #2B42B7
analogous
#B75A2B #B7A02B #88B72B
triadic
#B7A02B #2BB7A0 #A02BB7
tetradic
#B7A02B #2BB75A #2B42B7 #B72B88
square
#B7A02B #2BB75A #2B42B7 #B72B88
split-complementary
#B7A02B #2B88B7 #5A2BB7
monochromatic
#544914 #85751F #B7A02B #D5BE4B #E0D07C

Accessibility & contrast

On white

2.60
#B7A02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B7A02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A02B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A02B#FFFFFF#000000##000000
##B7A02B1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C13
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#C6938A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b7a02b;
/* rgb */ color: rgb(183, 160, 43);
/* oklch */ color: oklch(70.6% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#d1bb6e',
    500: '#b7a02b',
    950: '#000000',
  },
}
SCSS
$custom: #b7a02b;
$custom-light: #d1bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a02b",
  "rgb": {
    "r": 183,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 50.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70602,
    "c": 0.13211,
    "h": 97.5
  },
  "luminance": 0.35383
}

Semantic roles & 50–950 ramp

primary
#B7A02B
secondary
#7583C9
accent
#5DE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B7A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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