#B3AF1D#B3AF1D

#B3AF1D is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.151 H 107.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#B3AF1D
RGBrgb(179, 175, 29)
HSLhsl(58, 72%, 41%)
HSVhsv(58, 84%, 70%)
CMYKcmyk(0%, 2.2%, 83.8%, 29.8%)
CIE-LABlab(69.71, -13.99, 67.09)
CIE-LCHlch(69.71, 68.53, 101.78°)
OKLaboklab(73.41% -0.0465 0.1441)
OKLCHoklch(73.41% 0.151 107.9)
XYZxyz(34.1436, 40.3336, 7.1488)
Luminance0.4033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF1D #1D21B3
analogous
#B3641D #B3AF1D #6CB31D
triadic
#B3AF1D #1DB3AF #AF1DB3
tetradic
#B3AF1D #1DB364 #1D21B3 #B31D6C
square
#B3AF1D #1DB364 #1D21B3 #B31D6C
split-complementary
#B3AF1D #1D6CB3 #641DB3
monochromatic
#4A480C #7E7C14 #B3AF1D #DDD930 #E6E364

Accessibility & contrast

On white

2.32
#B3AF1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#B3AF1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF1D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF1D#FFFFFF#000000##000000
##B3AF1D1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#C1AC2C
Tritanopia (blue-blind)
#C1A395
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b3af1d;
/* rgb */ color: rgb(179, 175, 29);
/* oklch */ color: oklch(73.4% 0.151 107.9);
Tailwind
colors: {
  custom: {
    50: '#cec66a',
    500: '#b3af1d',
    950: '#000000',
  },
}
SCSS
$custom: #b3af1d;
$custom-light: #cec66a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af1d",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 29
  },
  "hsl": {
    "h": 58.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73406,
    "c": 0.15141,
    "h": 107.9
  },
  "luminance": 0.40332
}

Semantic roles & 50–950 ramp

primary
#B3AF1D
secondary
#6164CB
accent
#3EEF39
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3AF1D

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

Preview Lab → · Contrast checker → · Palette generator →

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