#B7B02B#B7B02B

#B7B02B is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.145 H 106.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B7B02B
RGBrgb(183, 176, 43)
HSLhsl(57, 62%, 44%)
HSVhsv(57, 77%, 72%)
CMYKcmyk(0%, 3.8%, 76.5%, 28.2%)
CIE-LABlab(70.38, -12.28, 63.84)
CIE-LCHlch(70.38, 65.01, 100.89°)
OKLaboklab(74.05% -0.0409 0.1395)
OKLCHoklch(74.05% 0.145 106.3)
XYZxyz(35.4913, 41.2937, 8.3860)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B02B #2B32B7
analogous
#B76A2B #B7B02B #78B72B
triadic
#B7B02B #2BB7B0 #B02BB7
tetradic
#B7B02B #2BB76A #2B32B7 #B72B78
square
#B7B02B #2BB76A #2B32B7 #B72B78
split-complementary
#B7B02B #2B78B7 #6A2BB7
monochromatic
#545114 #85801F #B7B02B #D5CE4B #E0DB7C

Accessibility & contrast

On white

2.27
#B7B02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B7B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B02B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B02B#FFFFFF#000000##000000
##B7B02B1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A909
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#C5A497
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b7b02b;
/* rgb */ color: rgb(183, 176, 43);
/* oklch */ color: oklch(74.0% 0.145 106.3);
Tailwind
colors: {
  custom: {
    50: '#d0c76f',
    500: '#b7b02b',
    950: '#000000',
  },
}
SCSS
$custom: #b7b02b;
$custom-light: #d0c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b02b",
  "rgb": {
    "r": 183,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 57,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74046,
    "c": 0.14538,
    "h": 106.3
  },
  "luminance": 0.41292
}

Semantic roles & 50–950 ramp

primary
#B7B02B
secondary
#7579C9
accent
#4BE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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