#B3B02F#B3B02F

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

Color values

HEX#B3B02F
RGBrgb(179, 176, 47)
HSLhsl(59, 58%, 44%)
HSVhsv(59, 74%, 70%)
CMYKcmyk(0%, 1.7%, 73.7%, 29.8%)
CIE-LABlab(70.06, -13.85, 62.09)
CIE-LCHlch(70.06, 63.61, 102.58°)
OKLaboklab(73.72% -0.0447 0.1367)
OKLCHoklch(73.72% 0.144 108.1)
XYZxyz(34.6302, 40.8407, 8.7476)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B02F #2F32B3
analogous
#B36E2F #B3B02F #74B32F
triadic
#B3B02F #2FB3B0 #B02FB3
tetradic
#B3B02F #2FB36E #2F32B3 #B32F74
square
#B3B02F #2FB36E #2F32B3 #B32F74
split-complementary
#B3B02F #2F74B3 #6E2FB3
monochromatic
#525116 #838022 #B3B02F #D1CE4F #DDDB7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3B02F#FFFFFF#000000##000000
##B3B02F1.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)
#BFA915
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#C0A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3b02f;
/* rgb */ color: rgb(179, 176, 47);
/* oklch */ color: oklch(73.7% 0.144 108.1);
Tailwind
colors: {
  custom: {
    50: '#cdc771',
    500: '#b3b02f',
    950: '#000000',
  },
}
SCSS
$custom: #b3b02f;
$custom-light: #cdc771;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b02f",
  "rgb": {
    "r": 179,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 58.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73718,
    "c": 0.14381,
    "h": 108.1
  },
  "luminance": 0.4084
}

Semantic roles & 50–950 ramp

primary
#B3B02F
secondary
#7879C6
accent
#4AE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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