#B2B025#B2B025

#B2B025 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.149 H 108.7°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#B2B025
RGBrgb(178, 176, 37)
HSLhsl(59, 66%, 42%)
HSVhsv(59, 79%, 70%)
CMYKcmyk(0%, 1.1%, 79.2%, 30.2%)
CIE-LABlab(69.93, -14.69, 65.12)
CIE-LCHlch(69.93, 66.75, 102.71°)
OKLaboklab(73.58% -0.0478 0.1413)
OKLCHoklch(73.58% 0.149 108.7)
XYZxyz(34.2207, 40.6503, 7.7936)
Luminance0.4065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B025 #2527B2
analogous
#B26A25 #B2B025 #6EB225
triadic
#B2B025 #25B2B0 #B025B2
tetradic
#B2B025 #25B26A #2527B2 #B2256E
square
#B2B025 #25B26A #2527B2 #B2256E
split-complementary
#B2B025 #256EB2 #6A25B2
monochromatic
#4D4C10 #7F7E1A #B2B025 #D7D53D #E1E070

Accessibility & contrast

On white

2.30
#B2B025 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#B2B025 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B025
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B025#FFFFFF#000000##000000
##B2B0251.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#C1AD32
Tritanopia (blue-blind)
#BFA497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b025;
/* rgb */ color: rgb(178, 176, 37);
/* oklch */ color: oklch(73.6% 0.149 108.7);
Tailwind
colors: {
  custom: {
    50: '#cdc76d',
    500: '#b2b025',
    950: '#000000',
  },
}
SCSS
$custom: #b2b025;
$custom-light: #cdc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b025",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 37
  },
  "hsl": {
    "h": 59.149,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.73575,
    "c": 0.1492,
    "h": 108.7
  },
  "luminance": 0.40649
}

Semantic roles & 50–950 ramp

primary
#B2B025
secondary
#6B6CC8
accent
#42E93F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B2B025

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

Preview Lab → · Contrast checker → · Palette generator →

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