#B7B03C#B7B03C

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

Color values

HEX#B7B03C
RGBrgb(183, 176, 60)
HSLhsl(57, 51%, 48%)
HSVhsv(57, 67%, 72%)
CMYKcmyk(0%, 3.8%, 67.2%, 28.2%)
CIE-LABlab(70.49, -11.46, 57.74)
CIE-LCHlch(70.49, 58.86, 101.22°)
OKLaboklab(74.16% -0.0369 0.1296)
OKLCHoklch(74.16% 0.135 105.9)
XYZxyz(35.8707, 41.4455, 10.3843)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B03C #3C43B7
analogous
#B7723C #B7B03C #81B73C
triadic
#B7B03C #3CB7B0 #B03CB7
tetradic
#B7B03C #3CB772 #3C43B7 #B73C81
square
#B7B03C #3CB772 #3C43B7 #B73C81
split-complementary
#B7B03C #3C81B7 #723CB7
monochromatic
#5B571E #89842D #B7B03C #CCC664 #DBD792

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B03C#FFFFFF#000000##000000
##B7B03C1.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)
#BFAA2C
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#C4A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b7b03c;
/* rgb */ color: rgb(183, 176, 60);
/* oklch */ color: oklch(74.2% 0.135 105.9);
Tailwind
colors: {
  custom: {
    50: '#d0c778',
    500: '#b7b03c',
    950: '#000000',
  },
}
SCSS
$custom: #b7b03c;
$custom-light: #d0c778;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b03c",
  "rgb": {
    "r": 183,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 56.585,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74164,
    "c": 0.13479,
    "h": 105.9
  },
  "luminance": 0.41444
}

Semantic roles & 50–950 ramp

primary
#B7B03C
secondary
#888CC6
accent
#56DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B03C

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

Preview Lab → · Contrast checker → · Palette generator →

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