#B2B23A#B2B23A

#B2B23A is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.139 H 109.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B2B23A
RGBrgb(178, 178, 58)
HSLhsl(60, 51%, 46%)
HSVhsv(60, 67%, 70%)
CMYKcmyk(0%, 0%, 67.4%, 30.2%)
CIE-LABlab(70.60, -14.75, 58.52)
CIE-LCHlch(70.60, 60.35, 104.15°)
OKLaboklab(74.15% -0.0461 0.1311)
OKLCHoklch(74.15% 0.139 109.4)
XYZxyz(35.0454, 41.6123, 10.1881)
Luminance0.4161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B23A #3A3AB2
analogous
#B2763A #B2B23A #76B23A
triadic
#B2B23A #3AB2B2 #B23AB2
tetradic
#B2B23A #3AB276 #3A3AB2 #B23A76
square
#B2B23A #3AB276 #3A3AB2 #B23A76
split-complementary
#B2B23A #3A76B2 #763AB2
monochromatic
#56561C #84842B #B2B23A #CBCB5F #DADA8D

Accessibility & contrast

On white

2.25
#B2B23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#B2B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B23A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B23A#FFFFFF#000000##000000
##B2B23A1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB28
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#BEA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b23a;
/* rgb */ color: rgb(178, 178, 58);
/* oklch */ color: oklch(74.2% 0.139 109.4);
Tailwind
colors: {
  custom: {
    50: '#ccc877',
    500: '#b2b23a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b23a;
$custom-light: #ccc877;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b23a",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7415,
    "c": 0.13898,
    "h": 109.4
  },
  "luminance": 0.41611
}

Semantic roles & 50–950 ramp

primary
#B2B23A
secondary
#8383C4
accent
#4DDA4D
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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