#B0B223#B0B223

#B0B223 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.8% C 0.152 H 110.5°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B0B223
RGBrgb(176, 178, 35)
HSLhsl(61, 67%, 42%)
HSVhsv(61, 80%, 70%)
CMYKcmyk(1.1%, 0%, 80.3%, 30.2%)
CIE-LABlab(70.31, -16.64, 65.95)
CIE-LCHlch(70.31, 68.02, 104.16°)
OKLaboklab(73.84% -0.0533 0.1429)
OKLCHoklch(73.84% 0.152 110.5)
XYZxyz(34.1295, 41.1932, 7.7430)
Luminance0.4119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B223 #2523B2
analogous
#B26D23 #B0B223 #69B223
triadic
#B0B223 #23B0B2 #B223B0
tetradic
#B0B223 #23B26D #2523B2 #B22369
square
#B0B223 #23B26D #2523B2 #B22369
split-complementary
#B0B223 #2369B2 #6D23B2
monochromatic
#4B4C0F #7D7F19 #B0B223 #D6D83A #E1E26D

Accessibility & contrast

On white

2.27
#B0B223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B0B223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B223
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B223#FFFFFF#000000##000000
##B0B2231.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C2AE31
Tritanopia (blue-blind)
#BDA698
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b223;
/* rgb */ color: rgb(176, 178, 35);
/* oklch */ color: oklch(73.8% 0.152 110.5);
Tailwind
colors: {
  custom: {
    50: '#ccc86c',
    500: '#b0b223',
    950: '#000000',
  },
}
SCSS
$custom: #b0b223;
$custom-light: #ccc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b223",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 60.839,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73836,
    "c": 0.15247,
    "h": 110.5
  },
  "luminance": 0.41192
}

Semantic roles & 50–950 ramp

primary
#B0B223
secondary
#6A68C9
accent
#3EEA40
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B0B223

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

Preview Lab → · Contrast checker → · Palette generator →

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