#B2B03A#B2B03A

#B2B03A is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.137 H 108.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B2B03A
RGBrgb(178, 176, 58)
HSLhsl(59, 51%, 46%)
HSVhsv(59, 67%, 70%)
CMYKcmyk(0%, 1.1%, 67.4%, 30.2%)
CIE-LABlab(70.05, -13.73, 57.96)
CIE-LCHlch(70.05, 59.56, 103.32°)
OKLaboklab(73.71% -0.0432 0.1299)
OKLCHoklch(73.71% 0.137 108.4)
XYZxyz(34.6504, 40.8222, 10.0564)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B03A #3A3CB2
analogous
#B2743A #B2B03A #78B23A
triadic
#B2B03A #3AB2B0 #B03AB2
tetradic
#B2B03A #3AB274 #3A3CB2 #B23A78
square
#B2B03A #3AB274 #3A3CB2 #B23A78
split-complementary
#B2B03A #3A78B2 #743AB2
monochromatic
#56551C #84822B #B2B03A #CBC95F #DAD88D

Accessibility & contrast

On white

2.29
#B2B03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B2B03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B03A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B03A#FFFFFF#000000##000000
##B2B03A1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA929
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#BFA598
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b03a;
/* rgb */ color: rgb(178, 176, 58);
/* oklch */ color: oklch(73.7% 0.137 108.4);
Tailwind
colors: {
  custom: {
    50: '#ccc777',
    500: '#b2b03a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b03a;
$custom-light: #ccc777;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b03a",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 59,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7371,
    "c": 0.13693,
    "h": 108.4
  },
  "luminance": 0.40821
}

Semantic roles & 50–950 ramp

primary
#B2B03A
secondary
#8385C4
accent
#50DA4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B03A

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

Preview Lab → · Contrast checker → · Palette generator →

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