#B2B23C#B2B23C

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

Color values

HEX#B2B23C
RGBrgb(178, 178, 60)
HSLhsl(60, 50%, 47%)
HSVhsv(60, 66%, 70%)
CMYKcmyk(0%, 0%, 66.3%, 30.2%)
CIE-LABlab(70.62, -14.64, 57.74)
CIE-LCHlch(70.62, 59.56, 104.22°)
OKLaboklab(74.17% -0.0455 0.1298)
OKLCHoklch(74.17% 0.138 109.3)
XYZxyz(35.0973, 41.6330, 10.4613)
Luminance0.4163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B23C #3C3CB2
analogous
#B2773C #B2B23C #77B23C
triadic
#B2B23C #3CB2B2 #B23CB2
tetradic
#B2B23C #3CB277 #3C3CB2 #B23C77
square
#B2B23C #3CB277 #3C3CB2 #B23C77
split-complementary
#B2B23C #3C77B2 #773CB2
monochromatic
#56561D #84842D #B2B23C #CACA61 #D9D98F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B23C#FFFFFF#000000##000000
##B2B23C1.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)
#C0AB2B
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#BEA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b23c;
/* rgb */ color: rgb(178, 178, 60);
/* oklch */ color: oklch(74.2% 0.138 109.3);
Tailwind
colors: {
  custom: {
    50: '#ccc878',
    500: '#b2b23c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b23c;
$custom-light: #ccc878;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b23c",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 60,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74166,
    "c": 0.13756,
    "h": 109.3
  },
  "luminance": 0.41632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2B23C

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

Preview Lab → · Contrast checker → · Palette generator →

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