#B1AF14#B1AF14

#B1AF14 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.2% C 0.155 H 108.8°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B1AF14
RGBrgb(177, 175, 20)
HSLhsl(59, 80%, 39%)
HSVhsv(59, 89%, 69%)
CMYKcmyk(0%, 1.1%, 88.7%, 30.6%)
CIE-LABlab(69.51, -15.08, 68.77)
CIE-LCHlch(69.51, 70.41, 102.37°)
OKLaboklab(73.2% -0.05 0.1464)
OKLCHoklch(73.2% 0.155 108.8)
XYZxyz(33.5891, 40.0587, 6.6245)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AF14 #1416B1
analogous
#B16014 #B1AF14 #64B114
triadic
#B1AF14 #14B1AF #AF14B1
tetradic
#B1AF14 #14B160 #1416B1 #B11464
square
#B1AF14 #14B160 #1416B1 #B11464
split-complementary
#B1AF14 #1464B1 #6014B1
monochromatic
#434208 #7A790E #B1AF14 #E5E31D #ECEA54

Accessibility & contrast

On white

2.33
#B1AF14 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B1AF14 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AF14
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AF14#FFFFFF#000000##000000
##B1AF141.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#C0AC27
Tritanopia (blue-blind)
#BEA395
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b1af14;
/* rgb */ color: rgb(177, 175, 20);
/* oklch */ color: oklch(73.2% 0.155 108.8);
Tailwind
colors: {
  custom: {
    50: '#cdc667',
    500: '#b1af14',
    950: '#000000',
  },
}
SCSS
$custom: #b1af14;
$custom-light: #cdc667;
$custom-dark: #000000;
JSON
{
  "hex": "#b1af14",
  "rgb": {
    "r": 177,
    "g": 175,
    "b": 20
  },
  "hsl": {
    "h": 59.236,
    "s": 79.695,
    "l": 38.627
  },
  "oklch": {
    "l": 0.73201,
    "c": 0.15472,
    "h": 108.8
  },
  "luminance": 0.40058
}

Semantic roles & 50–950 ramp

primary
#B1AF14
secondary
#5354CE
accent
#34F632
background
#FDFCF6
surface
#FAF8EB
border
#D3D1C6
text
#141307
muted
#83827A

Preview Lab

Preview with #B1AF14

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

Preview Lab → · Contrast checker → · Palette generator →

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