#B2B230#B2B230

#B2B230 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.1% C 0.145 H 109.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B2B230
RGBrgb(178, 178, 48)
HSLhsl(60, 58%, 44%)
HSVhsv(60, 73%, 70%)
CMYKcmyk(0%, 0%, 73%, 30.2%)
CIE-LABlab(70.54, -15.26, 62.16)
CIE-LCHlch(70.54, 64.01, 103.79°)
OKLaboklab(74.08% -0.0485 0.1371)
OKLCHoklch(74.08% 0.145 109.5)
XYZxyz(34.8153, 41.5202, 8.9760)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B230 #3030B2
analogous
#B27130 #B2B230 #71B230
triadic
#B2B230 #30B2B2 #B230B2
tetradic
#B2B230 #30B271 #3030B2 #B23071
square
#B2B230 #30B271 #3030B2 #B23071
split-complementary
#B2B230 #3071B2 #7130B2
monochromatic
#525216 #828223 #B2B230 #D0D050 #DDDD80

Accessibility & contrast

On white

2.26
#B2B230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B2B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B230
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B230#FFFFFF#000000##000000
##B2B2301.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA16
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#BFA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b230;
/* rgb */ color: rgb(178, 178, 48);
/* oklch */ color: oklch(74.1% 0.145 109.5);
Tailwind
colors: {
  custom: {
    50: '#cdc872',
    500: '#b2b230',
    950: '#000000',
  },
}
SCSS
$custom: #b2b230;
$custom-light: #cdc872;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b230",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74079,
    "c": 0.14538,
    "h": 109.5
  },
  "luminance": 0.41519
}

Semantic roles & 50–950 ramp

primary
#B2B230
secondary
#7878C6
accent
#47E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B230

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

Preview Lab → · Contrast checker → · Palette generator →

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