#B3AE1F#B3AE1F

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

Color values

HEX#B3AE1F
RGBrgb(179, 174, 31)
HSLhsl(58, 70%, 41%)
HSVhsv(58, 83%, 70%)
CMYKcmyk(0%, 2.8%, 82.7%, 29.8%)
CIE-LABlab(69.44, -13.42, 66.36)
CIE-LCHlch(69.44, 67.70, 101.43°)
OKLaboklab(73.19% -0.0448 0.1429)
OKLCHoklch(73.19% 0.15 107.4)
XYZxyz(33.9752, 39.9560, 7.2187)
Luminance0.3996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AE1F #1F24B3
analogous
#B3641F #B3AE1F #6EB31F
triadic
#B3AE1F #1FB3AE #AE1FB3
tetradic
#B3AE1F #1FB364 #1F24B3 #B31F6E
square
#B3AE1F #1FB364 #1F24B3 #B31F6E
split-complementary
#B3AE1F #1F6EB3 #641FB3
monochromatic
#4B490D #7F7B16 #B3AE1F #DCD633 #E5E168

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AE1F#FFFFFF#000000##000000
##B3AE1F1.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)
#C0AC2D
Tritanopia (blue-blind)
#C1A295
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b3ae1f;
/* rgb */ color: rgb(179, 174, 31);
/* oklch */ color: oklch(73.2% 0.150 107.4);
Tailwind
colors: {
  custom: {
    50: '#cec56a',
    500: '#b3ae1f',
    950: '#000000',
  },
}
SCSS
$custom: #b3ae1f;
$custom-light: #cec56a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ae1f",
  "rgb": {
    "r": 179,
    "g": 174,
    "b": 31
  },
  "hsl": {
    "h": 57.973,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.73195,
    "c": 0.14972,
    "h": 107.4
  },
  "luminance": 0.39955
}

Semantic roles & 50–950 ramp

primary
#B3AE1F
secondary
#6467CA
accent
#41ED3B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B3AE1F

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

Preview Lab → · Contrast checker → · Palette generator →

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