#B3AF45#B3AF45

#B3AF45 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.127 H 107.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#B3AF45
RGBrgb(179, 175, 69)
HSLhsl(58, 44%, 49%)
HSVhsv(58, 61%, 70%)
CMYKcmyk(0%, 2.2%, 61.5%, 29.8%)
CIE-LABlab(69.95, -12.09, 53.27)
CIE-LCHlch(69.95, 54.63, 102.79°)
OKLaboklab(73.68% -0.0374 0.1217)
OKLCHoklch(73.68% 0.127 107.1)
XYZxyz(34.9957, 40.6744, 11.6366)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF45 #4549B3
analogous
#B37845 #B3AF45 #80B345
triadic
#B3AF45 #45B3AF #AF45B3
tetradic
#B3AF45 #45B378 #4549B3 #B34580
square
#B3AF45 #45B378 #4549B3 #B34580
split-complementary
#B3AF45 #4580B3 #7845B3
monochromatic
#5B5923 #878434 #B3AF45 #C7C46E #D8D69A

Accessibility & contrast

On white

2.30
#B3AF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#B3AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF45
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF45#FFFFFF#000000##000000
##B3AF451.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA939
Deuteranopia (green-blind)
#BFAD4B
Tritanopia (blue-blind)
#BFA499
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3af45;
/* rgb */ color: rgb(179, 175, 69);
/* oklch */ color: oklch(73.7% 0.127 107.1);
Tailwind
colors: {
  custom: {
    50: '#ccc67d',
    500: '#b3af45',
    950: '#000000',
  },
}
SCSS
$custom: #b3af45;
$custom-light: #ccc67d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af45",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 57.818,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73675,
    "c": 0.12734,
    "h": 107.1
  },
  "luminance": 0.40673
}

Semantic roles & 50–950 ramp

primary
#B3AF45
secondary
#8F91C4
accent
#58D454
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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