#B2B03F#B2B03F

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

Color values

HEX#B2B03F
RGBrgb(178, 176, 63)
HSLhsl(59, 48%, 47%)
HSVhsv(59, 65%, 70%)
CMYKcmyk(0%, 1.1%, 64.6%, 30.2%)
CIE-LABlab(70.09, -13.43, 55.97)
CIE-LCHlch(70.09, 57.55, 103.49°)
OKLaboklab(73.75% -0.0418 0.1265)
OKLCHoklch(73.75% 0.133 108.3)
XYZxyz(34.7838, 40.8756, 10.7591)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B03F #3F41B2
analogous
#B2773F #B2B03F #7AB23F
triadic
#B2B03F #3FB2B0 #B03FB2
tetradic
#B2B03F #3FB277 #3F41B2 #B23F7A
square
#B2B03F #3FB277 #3F41B2 #B23F7A
split-complementary
#B2B03F #3F7AB2 #773FB2
monochromatic
#58571F #85832F #B2B03F #C9C766 #D9D793

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B03F#FFFFFF#000000##000000
##B2B03F1.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)
#BEA930
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#BEA599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b03f;
/* rgb */ color: rgb(178, 176, 63);
/* oklch */ color: oklch(73.8% 0.133 108.3);
Tailwind
colors: {
  custom: {
    50: '#ccc77a',
    500: '#b2b03f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b03f;
$custom-light: #ccc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b03f",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 58.957,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73752,
    "c": 0.13327,
    "h": 108.3
  },
  "luminance": 0.40875
}

Semantic roles & 50–950 ramp

primary
#B2B03F
secondary
#898AC4
accent
#53D750
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B03F

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

Preview Lab → · Contrast checker → · Palette generator →

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