#B3AF29#B3AF29

#B3AF29 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.146 H 107.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#B3AF29
RGBrgb(179, 175, 41)
HSLhsl(58, 63%, 43%)
HSVhsv(58, 77%, 70%)
CMYKcmyk(0%, 2.2%, 77.1%, 29.8%)
CIE-LABlab(69.76, -13.59, 63.78)
CIE-LCHlch(69.76, 65.21, 102.03°)
OKLaboklab(73.46% -0.0445 0.1392)
OKLCHoklch(73.46% 0.146 107.7)
XYZxyz(34.3220, 40.4049, 8.0884)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF29 #292DB3
analogous
#B36A29 #B3AF29 #72B329
triadic
#B3AF29 #29B3AF #AF29B3
tetradic
#B3AF29 #29B36A #292DB3 #B32972
square
#B3AF29 #29B36A #292DB3 #B32972
split-complementary
#B3AF29 #2972B3 #6A29B3
monochromatic
#4F4E12 #817E1E #B3AF29 #D4D045 #E0DD77

Accessibility & contrast

On white

2.31
#B3AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#B3AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF29
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF29#FFFFFF#000000##000000
##B3AF291.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA803
Deuteranopia (green-blind)
#C0AD34
Tritanopia (blue-blind)
#C0A396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b3af29;
/* rgb */ color: rgb(179, 175, 41);
/* oklch */ color: oklch(73.5% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#cec66e',
    500: '#b3af29',
    950: '#000000',
  },
}
SCSS
$custom: #b3af29;
$custom-light: #cec66e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af29",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 58.261,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.14612,
    "h": 107.7
  },
  "luminance": 0.40404
}

Semantic roles & 50–950 ramp

primary
#B3AF29
secondary
#7073C7
accent
#47E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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