#B2B04A#B2B04A

#B2B04A is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.9% C 0.124 H 108.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B2B04A
RGBrgb(178, 176, 74)
HSLhsl(59, 41%, 49%)
HSVhsv(59, 58%, 70%)
CMYKcmyk(0%, 1.1%, 58.4%, 30.2%)
CIE-LABlab(70.18, -12.68, 51.28)
CIE-LCHlch(70.18, 52.82, 103.89°)
OKLaboklab(73.86% -0.0385 0.1182)
OKLCHoklch(73.86% 0.124 108)
XYZxyz(35.1225, 41.0111, 12.5430)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B04A #4A4CB2
analogous
#B27C4A #B2B04A #80B24A
triadic
#B2B04A #4AB2B0 #B04AB2
tetradic
#B2B04A #4AB27C #4A4CB2 #B24A80
square
#B2B04A #4AB27C #4A4CB2 #B24A80
split-complementary
#B2B04A #4A80B2 #7C4AB2
monochromatic
#5C5B26 #878538 #B2B04A #C5C474 #D7D69F

Accessibility & contrast

On white

2.28
#B2B04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#B2B04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B04A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B04A#FFFFFF#000000##000000
##B2B04A1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93F
Deuteranopia (green-blind)
#BFAD50
Tritanopia (blue-blind)
#BEA69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b04a;
/* rgb */ color: rgb(178, 176, 74);
/* oklch */ color: oklch(73.9% 0.124 108.0);
Tailwind
colors: {
  custom: {
    50: '#cbc780',
    500: '#b2b04a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b04a;
$custom-light: #cbc780;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b04a",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 58.846,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73858,
    "c": 0.12428,
    "h": 108
  },
  "luminance": 0.4101
}

Semantic roles & 50–950 ramp

primary
#B2B04A
secondary
#9495C4
accent
#59D157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B04A

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

Preview Lab → · Contrast checker → · Palette generator →

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