#B3AF1C#B3AF1C

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

Color values

HEX#B3AF1C
RGBrgb(179, 175, 28)
HSLhsl(58, 73%, 41%)
HSVhsv(58, 84%, 70%)
CMYKcmyk(0%, 2.2%, 84.4%, 29.8%)
CIE-LABlab(69.70, -14.02, 67.32)
CIE-LCHlch(69.70, 68.77, 101.76°)
OKLaboklab(73.4% -0.0466 0.1444)
OKLCHoklch(73.4% 0.152 107.9)
XYZxyz(34.1314, 40.3287, 7.0847)
Luminance0.4033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF1C #1C20B3
analogous
#B3641C #B3AF1C #6BB31C
triadic
#B3AF1C #1CB3AF #AF1CB3
tetradic
#B3AF1C #1CB364 #1C20B3 #B31C6B
square
#B3AF1C #1CB364 #1C20B3 #B31C6B
split-complementary
#B3AF1C #1C6BB3 #641CB3
monochromatic
#49480B #7E7B14 #B3AF1C #DEDA2E #E7E363

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AF1C#FFFFFF#000000##000000
##B3AF1C1.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)
#C1AC2B
Tritanopia (blue-blind)
#C1A395
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b3af1c;
/* rgb */ color: rgb(179, 175, 28);
/* oklch */ color: oklch(73.4% 0.152 107.9);
Tailwind
colors: {
  custom: {
    50: '#cec669',
    500: '#b3af1c',
    950: '#000000',
  },
}
SCSS
$custom: #b3af1c;
$custom-light: #cec669;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af1c",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 28
  },
  "hsl": {
    "h": 58.411,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73402,
    "c": 0.15178,
    "h": 107.9
  },
  "luminance": 0.40327
}

Semantic roles & 50–950 ramp

primary
#B3AF1C
secondary
#5F62CB
accent
#3DF038
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3AF1C

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

Preview Lab → · Contrast checker → · Palette generator →

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