#B4B230#B4B230

#B4B230 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.145 H 108.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B4B230
RGBrgb(180, 178, 48)
HSLhsl(59, 58%, 45%)
HSVhsv(59, 73%, 71%)
CMYKcmyk(0%, 1.1%, 73.3%, 29.4%)
CIE-LABlab(70.70, -14.40, 62.38)
CIE-LCHlch(70.70, 64.02, 103.00°)
OKLaboklab(74.25% -0.0462 0.1375)
OKLCHoklch(74.25% 0.145 108.6)
XYZxyz(35.2776, 41.7586, 8.9977)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B230 #3032B4
analogous
#B47030 #B4B230 #74B430
triadic
#B4B230 #30B4B2 #B230B4
tetradic
#B4B230 #30B470 #3032B4 #B43074
square
#B4B230 #30B470 #3032B4 #B43074
split-complementary
#B4B230 #3074B4 #7030B4
monochromatic
#535216 #848223 #B4B230 #D1CF51 #DDDC81

Accessibility & contrast

On white

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

On black

9.35
#B4B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B230
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B230#FFFFFF#000000##000000
##B4B2301.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#C1A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b230;
/* rgb */ color: rgb(180, 178, 48);
/* oklch */ color: oklch(74.3% 0.145 108.6);
Tailwind
colors: {
  custom: {
    50: '#cec872',
    500: '#b4b230',
    950: '#000000',
  },
}
SCSS
$custom: #b4b230;
$custom-light: #cec872;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b230",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 59.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74251,
    "c": 0.145,
    "h": 108.6
  },
  "luminance": 0.41757
}

Semantic roles & 50–950 ramp

primary
#B4B230
secondary
#797BC6
accent
#49E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B230

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

Preview Lab → · Contrast checker → · Palette generator →

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