#B3AE1C#B3AE1C

#B3AE1C is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.151 H 107.4°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#B3AE1C
RGBrgb(179, 174, 28)
HSLhsl(58, 73%, 41%)
HSVhsv(58, 84%, 70%)
CMYKcmyk(0%, 2.8%, 84.4%, 29.8%)
CIE-LABlab(69.43, -13.50, 67.09)
CIE-LCHlch(69.43, 68.44, 101.38°)
OKLaboklab(73.18% -0.0452 0.1439)
OKLCHoklch(73.18% 0.151 107.4)
XYZxyz(33.9375, 39.9409, 7.0201)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AE1C #1C21B3
analogous
#B3621C #B3AE1C #6CB31C
triadic
#B3AE1C #1CB3AE #AE1CB3
tetradic
#B3AE1C #1CB362 #1C21B3 #B31C6C
square
#B3AE1C #1CB362 #1C21B3 #B31C6C
split-complementary
#B3AE1C #1C6CB3 #621CB3
monochromatic
#49470B #7E7B14 #B3AE1C #DED82E #E7E263

Accessibility & contrast

On white

2.34
#B3AE1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#B3AE1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AE1C
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AE1C#FFFFFF#000000##000000
##B3AE1C1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#C0AC2B
Tritanopia (blue-blind)
#C1A294
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b3ae1c;
/* rgb */ color: rgb(179, 174, 28);
/* oklch */ color: oklch(73.2% 0.151 107.4);
Tailwind
colors: {
  custom: {
    50: '#cec569',
    500: '#b3ae1c',
    950: '#000000',
  },
}
SCSS
$custom: #b3ae1c;
$custom-light: #cec569;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ae1c",
  "rgb": {
    "r": 179,
    "g": 174,
    "b": 28
  },
  "hsl": {
    "h": 58.013,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73183,
    "c": 0.15087,
    "h": 107.4
  },
  "luminance": 0.3994
}

Semantic roles & 50–950 ramp

primary
#B3AE1C
secondary
#5F63CB
accent
#3EF038
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B3AE1C

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

Preview Lab → · Contrast checker → · Palette generator →

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