#B3AF1E#B3AF1E

#B3AF1E 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#B3AF1E
RGBrgb(179, 175, 30)
HSLhsl(58, 71%, 41%)
HSVhsv(58, 83%, 70%)
CMYKcmyk(0%, 2.2%, 83.2%, 29.8%)
CIE-LABlab(69.71, -13.96, 66.84)
CIE-LCHlch(69.71, 68.29, 101.80°)
OKLaboklab(73.41% -0.0464 0.1437)
OKLCHoklch(73.41% 0.151 107.9)
XYZxyz(34.1562, 40.3386, 7.2150)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF1E #1E22B3
analogous
#B3641E #B3AF1E #6CB31E
triadic
#B3AF1E #1EB3AF #AF1EB3
tetradic
#B3AF1E #1EB364 #1E22B3 #B31E6C
square
#B3AF1E #1EB364 #1E22B3 #B31E6C
split-complementary
#B3AF1E #1E6CB3 #641EB3
monochromatic
#4A490C #7F7C15 #B3AF1E #DDD832 #E5E266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AF1E#FFFFFF#000000##000000
##B3AF1E1.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: #b3af1e;
/* rgb */ color: rgb(179, 175, 30);
/* oklch */ color: oklch(73.4% 0.151 107.9);
Tailwind
colors: {
  custom: {
    50: '#cec66a',
    500: '#b3af1e',
    950: '#000000',
  },
}
SCSS
$custom: #b3af1e;
$custom-light: #cec66a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af1e",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 30
  },
  "hsl": {
    "h": 58.389,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7341,
    "c": 0.15103,
    "h": 107.9
  },
  "luminance": 0.40337
}

Semantic roles & 50–950 ramp

primary
#B3AF1E
secondary
#6265CB
accent
#3FEE3A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3AF1E

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

Preview Lab → · Contrast checker → · Palette generator →

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