#B7B02C#B7B02C

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

Color values

HEX#B7B02C
RGBrgb(183, 176, 44)
HSLhsl(57, 61%, 45%)
HSVhsv(57, 76%, 72%)
CMYKcmyk(0%, 3.8%, 76%, 28.2%)
CIE-LABlab(70.39, -12.24, 63.52)
CIE-LCHlch(70.39, 64.69, 100.91°)
OKLaboklab(74.05% -0.0407 0.139)
OKLCHoklch(74.05% 0.145 106.3)
XYZxyz(35.5099, 41.3011, 8.4838)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B02C #2C33B7
analogous
#B76A2C #B7B02C #79B72C
triadic
#B7B02C #2CB7B0 #B02CB7
tetradic
#B7B02C #2CB76A #2C33B7 #B72C79
square
#B7B02C #2CB76A #2C33B7 #B72C79
split-complementary
#B7B02C #2C79B7 #6A2CB7
monochromatic
#545114 #868120 #B7B02C #D4CD4C #E0DB7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B02C#FFFFFF#000000##000000
##B7B02C1.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)
#BFA90C
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#C5A497
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b7b02c;
/* rgb */ color: rgb(183, 176, 44);
/* oklch */ color: oklch(74.1% 0.145 106.3);
Tailwind
colors: {
  custom: {
    50: '#d0c770',
    500: '#b7b02c',
    950: '#000000',
  },
}
SCSS
$custom: #b7b02c;
$custom-light: #d0c770;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b02c",
  "rgb": {
    "r": 183,
    "g": 176,
    "b": 44
  },
  "hsl": {
    "h": 56.978,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74052,
    "c": 0.14484,
    "h": 106.3
  },
  "luminance": 0.413
}

Semantic roles & 50–950 ramp

primary
#B7B02C
secondary
#767BC8
accent
#4CE443
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B02C

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

Preview Lab → · Contrast checker → · Palette generator →

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