#B0B318#B0B318

#B0B318 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.0% C 0.158 H 110.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B0B318
RGBrgb(176, 179, 24)
HSLhsl(61, 76%, 40%)
HSVhsv(61, 87%, 70%)
CMYKcmyk(1.7%, 0%, 86.6%, 29.8%)
CIE-LABlab(70.55, -17.46, 68.80)
CIE-LCHlch(70.55, 70.98, 104.24°)
OKLaboklab(74.02% -0.0563 0.1472)
OKLCHoklch(74.02% 0.158 110.9)
XYZxyz(34.1908, 41.5372, 7.0804)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B318 #1B18B3
analogous
#B36818 #B0B318 #63B318
triadic
#B0B318 #18B0B3 #B318B0
tetradic
#B0B318 #18B368 #1B18B3 #B31863
square
#B0B318 #18B368 #1B18B3 #B31863
split-complementary
#B0B318 #1863B3 #6818B3
monochromatic
#46470A #7B7D11 #B0B318 #DEE226 #E6E95C

Accessibility & contrast

On white

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

On black

9.31
#B0B318 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B318
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B318#FFFFFF#000000##000000
##B0B3181.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C3AE2A
Tritanopia (blue-blind)
#BDA799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b0b318;
/* rgb */ color: rgb(176, 179, 24);
/* oklch */ color: oklch(74.0% 0.158 110.9);
Tailwind
colors: {
  custom: {
    50: '#ccc968',
    500: '#b0b318',
    950: '#000000',
  },
}
SCSS
$custom: #b0b318;
$custom-light: #ccc968;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b318",
  "rgb": {
    "r": 176,
    "g": 179,
    "b": 24
  },
  "hsl": {
    "h": 61.161,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.74016,
    "c": 0.15756,
    "h": 110.9
  },
  "luminance": 0.41536
}

Semantic roles & 50–950 ramp

primary
#B0B318
secondary
#5C5ACD
accent
#35F339
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B0B318

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

Preview Lab → · Contrast checker → · Palette generator →

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