#B7B03B#B7B03B

#B7B03B is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.136 H 105.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#B7B03B
RGBrgb(183, 176, 59)
HSLhsl(57, 51%, 47%)
HSVhsv(57, 68%, 72%)
CMYKcmyk(0%, 3.8%, 67.8%, 28.2%)
CIE-LABlab(70.48, -11.52, 58.13)
CIE-LCHlch(70.48, 59.26, 101.20°)
OKLaboklab(74.16% -0.0371 0.1303)
OKLCHoklch(74.16% 0.136 105.9)
XYZxyz(35.8445, 41.4350, 10.2464)
Luminance0.4143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B03B #3B42B7
analogous
#B7723B #B7B03B #80B73B
triadic
#B7B03B #3BB7B0 #B03BB7
tetradic
#B7B03B #3BB772 #3B42B7 #B73B80
square
#B7B03B #3BB772 #3B42B7 #B73B80
split-complementary
#B7B03B #3B80B7 #723BB7
monochromatic
#5A571D #89832C #B7B03B #CDC763 #DCD791

Accessibility & contrast

On white

2.26
#B7B03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#B7B03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B03B
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B03B#FFFFFF#000000##000000
##B7B03B1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2A
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#C4A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b7b03b;
/* rgb */ color: rgb(183, 176, 59);
/* oklch */ color: oklch(74.2% 0.136 105.9);
Tailwind
colors: {
  custom: {
    50: '#d0c778',
    500: '#b7b03b',
    950: '#000000',
  },
}
SCSS
$custom: #b7b03b;
$custom-light: #d0c778;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b03b",
  "rgb": {
    "r": 183,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 56.613,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74156,
    "c": 0.13551,
    "h": 105.9
  },
  "luminance": 0.41434
}

Semantic roles & 50–950 ramp

primary
#B7B03B
secondary
#878BC6
accent
#55DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B03B

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

Preview Lab → · Contrast checker → · Palette generator →

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