#B7B02E#B7B02E

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

Color values

HEX#B7B02E
RGBrgb(183, 176, 46)
HSLhsl(57, 60%, 45%)
HSVhsv(57, 75%, 72%)
CMYKcmyk(0%, 3.8%, 74.9%, 28.2%)
CIE-LABlab(70.40, -12.16, 62.86)
CIE-LCHlch(70.40, 64.03, 100.95°)
OKLaboklab(74.06% -0.0402 0.138)
OKLCHoklch(74.06% 0.144 106.3)
XYZxyz(35.5484, 41.3165, 8.6866)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B02E #2E35B7
analogous
#B76B2E #B7B02E #7AB72E
triadic
#B7B02E #2EB7B0 #B02EB7
tetradic
#B7B02E #2EB76B #2E35B7 #B72E7A
square
#B7B02E #2EB76B #2E35B7 #B72E7A
split-complementary
#B7B02E #2E7AB7 #6B2EB7
monochromatic
#555215 #868122 #B7B02E #D3CC4F #DFDA80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B02E#FFFFFF#000000##000000
##B7B02E1.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)
#BFA912
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#C5A497
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b7b02e;
/* rgb */ color: rgb(183, 176, 46);
/* oklch */ color: oklch(74.1% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#d0c771',
    500: '#b7b02e',
    950: '#000000',
  },
}
SCSS
$custom: #b7b02e;
$custom-light: #d0c771;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b02e",
  "rgb": {
    "r": 183,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 56.934,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74064,
    "c": 0.14375,
    "h": 106.3
  },
  "luminance": 0.41315
}

Semantic roles & 50–950 ramp

primary
#B7B02E
secondary
#797DC8
accent
#4DE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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