#B3AF35#B3AF35

#B3AF35 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.139 H 107.5°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#B3AF35
RGBrgb(179, 175, 53)
HSLhsl(58, 54%, 45%)
HSVhsv(58, 70%, 70%)
CMYKcmyk(0%, 2.2%, 70.4%, 29.8%)
CIE-LABlab(69.83, -13.05, 59.69)
CIE-LCHlch(69.83, 61.10, 102.33°)
OKLaboklab(73.54% -0.0418 0.1327)
OKLCHoklch(73.54% 0.139 107.5)
XYZxyz(34.5643, 40.5018, 9.3644)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF35 #3539B3
analogous
#B37035 #B3AF35 #78B335
triadic
#B3AF35 #35B3AF #AF35B3
tetradic
#B3AF35 #35B370 #3539B3 #B33578
square
#B3AF35 #35B370 #3539B3 #B33578
split-complementary
#B3AF35 #3578B3 #7035B3
monochromatic
#555319 #848127 #B3AF35 #CDCA58 #DBD987

Accessibility & contrast

On white

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

On black

9.10
#B3AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF35
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF35#FFFFFF#000000##000000
##B3AF351.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA821
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#C0A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3af35;
/* rgb */ color: rgb(179, 175, 53);
/* oklch */ color: oklch(73.5% 0.139 107.5);
Tailwind
colors: {
  custom: {
    50: '#cdc674',
    500: '#b3af35',
    950: '#000000',
  },
}
SCSS
$custom: #b3af35;
$custom-light: #cdc674;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af35",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 58.095,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73539,
    "c": 0.13915,
    "h": 107.5
  },
  "luminance": 0.40501
}

Semantic roles & 50–950 ramp

primary
#B3AF35
secondary
#7F81C5
accent
#4FDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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