#B0B31E#B0B31E

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

Color values

HEX#B0B31E
RGBrgb(176, 179, 30)
HSLhsl(61, 71%, 41%)
HSVhsv(61, 83%, 70%)
CMYKcmyk(1.7%, 0%, 83.2%, 29.8%)
CIE-LABlab(70.57, -17.31, 67.47)
CIE-LCHlch(70.57, 69.66, 104.39°)
OKLaboklab(74.04% -0.0555 0.1453)
OKLCHoklch(74.04% 0.155 110.9)
XYZxyz(34.2602, 41.5650, 7.4462)
Luminance0.4156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B31E #211EB3
analogous
#B36B1E #B0B31E #65B31E
triadic
#B0B31E #1EB0B3 #B31EB0
tetradic
#B0B31E #1EB36B #211EB3 #B31E65
square
#B0B31E #1EB36B #211EB3 #B31E65
split-complementary
#B0B31E #1E65B3 #6B1EB3
monochromatic
#494A0C #7C7F15 #B0B31E #D9DD32 #E3E566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B31E#FFFFFF#000000##000000
##B0B31E1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0b31e;
/* rgb */ color: rgb(176, 179, 30);
/* oklch */ color: oklch(74.0% 0.155 110.9);
Tailwind
colors: {
  custom: {
    50: '#ccc96a',
    500: '#b0b31e',
    950: '#000000',
  },
}
SCSS
$custom: #b0b31e;
$custom-light: #ccc96a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b31e",
  "rgb": {
    "r": 176,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 61.208,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.74037,
    "c": 0.15549,
    "h": 110.9
  },
  "luminance": 0.41564
}

Semantic roles & 50–950 ramp

primary
#B0B31E
secondary
#6462CB
accent
#3AEE3D
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B0B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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