#B2B03C#B2B03C

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

Color values

HEX#B2B03C
RGBrgb(178, 176, 60)
HSLhsl(59, 50%, 47%)
HSVhsv(59, 66%, 70%)
CMYKcmyk(0%, 1.1%, 66.3%, 30.2%)
CIE-LABlab(70.07, -13.61, 57.17)
CIE-LCHlch(70.07, 58.77, 103.39°)
OKLaboklab(73.73% -0.0426 0.1286)
OKLCHoklch(73.73% 0.136 108.3)
XYZxyz(34.7022, 40.8429, 10.3296)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B03C #3C3EB2
analogous
#B2753C #B2B03C #79B23C
triadic
#B2B03C #3CB2B0 #B03CB2
tetradic
#B2B03C #3CB275 #3C3EB2 #B23C79
square
#B2B03C #3CB275 #3C3EB2 #B23C79
split-complementary
#B2B03C #3C79B2 #753CB2
monochromatic
#56551D #84832D #B2B03C #CAC861 #D9D88F

Accessibility & contrast

On white

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

On black

9.17
#B2B03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B03C
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B03C#FFFFFF#000000##000000
##B2B03C1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92C
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#BEA598
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b03c;
/* rgb */ color: rgb(178, 176, 60);
/* oklch */ color: oklch(73.7% 0.136 108.3);
Tailwind
colors: {
  custom: {
    50: '#ccc778',
    500: '#b2b03c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b03c;
$custom-light: #ccc778;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b03c",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 58.983,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73726,
    "c": 0.1355,
    "h": 108.3
  },
  "luminance": 0.40842
}

Semantic roles & 50–950 ramp

primary
#B2B03C
secondary
#8687C4
accent
#51D94F
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B03C

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

Preview Lab → · Contrast checker → · Palette generator →

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