#B2B23D#B2B23D

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

Color values

HEX#B2B23D
RGBrgb(178, 178, 61)
HSLhsl(60, 49%, 47%)
HSVhsv(60, 66%, 70%)
CMYKcmyk(0%, 0%, 65.7%, 30.2%)
CIE-LABlab(70.62, -14.58, 57.34)
CIE-LCHlch(70.62, 59.17, 104.26°)
OKLaboklab(74.17% -0.0453 0.1291)
OKLCHoklch(74.17% 0.137 109.3)
XYZxyz(35.1240, 41.6437, 10.6018)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B23D #3D3DB2
analogous
#B2783D #B2B23D #78B23D
triadic
#B2B23D #3DB2B2 #B23DB2
tetradic
#B2B23D #3DB278 #3D3DB2 #B23D78
square
#B2B23D #3DB278 #3D3DB2 #B23D78
split-complementary
#B2B23D #3D78B2 #783DB2
monochromatic
#57571E #84842D #B2B23D #C9C963 #D9D990

Accessibility & contrast

On white

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

On black

9.33
#B2B23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B23D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B23D#FFFFFF#000000##000000
##B2B23D1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b23d;
/* rgb */ color: rgb(178, 178, 61);
/* oklch */ color: oklch(74.2% 0.137 109.3);
Tailwind
colors: {
  custom: {
    50: '#ccc879',
    500: '#b2b23d',
    950: '#000000',
  },
}
SCSS
$custom: #b2b23d;
$custom-light: #ccc879;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b23d",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 60,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74174,
    "c": 0.13684,
    "h": 109.3
  },
  "luminance": 0.41643
}

Semantic roles & 50–950 ramp

primary
#B2B23D
secondary
#8787C4
accent
#4FD94F
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B23D

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

Preview Lab → · Contrast checker → · Palette generator →

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