#B3AF3E#B3AF3E

#B3AF3E is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.133 H 107.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#B3AF3E
RGBrgb(179, 175, 62)
HSLhsl(58, 49%, 47%)
HSVhsv(58, 65%, 70%)
CMYKcmyk(0%, 2.2%, 65.4%, 29.8%)
CIE-LABlab(69.89, -12.55, 56.20)
CIE-LCHlch(69.89, 57.58, 102.58°)
OKLaboklab(73.61% -0.0395 0.1269)
OKLCHoklch(73.61% 0.133 107.3)
XYZxyz(34.7911, 40.5926, 10.5590)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF3E #3E42B3
analogous
#B3753E #B3AF3E #7CB33E
triadic
#B3AF3E #3EB3AF #AF3EB3
tetradic
#B3AF3E #3EB375 #3E42B3 #B33E7C
square
#B3AF3E #3EB375 #3E42B3 #B33E7C
split-complementary
#B3AF3E #3E7CB3 #753EB3
monochromatic
#58561F #86832E #B3AF3E #CAC665 #D9D792

Accessibility & contrast

On white

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

On black

9.12
#B3AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF3E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF3E#FFFFFF#000000##000000
##B3AF3E1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82F
Deuteranopia (green-blind)
#BFAD45
Tritanopia (blue-blind)
#C0A498
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3af3e;
/* rgb */ color: rgb(179, 175, 62);
/* oklch */ color: oklch(73.6% 0.133 107.3);
Tailwind
colors: {
  custom: {
    50: '#cdc679',
    500: '#b3af3e',
    950: '#000000',
  },
}
SCSS
$custom: #b3af3e;
$custom-light: #cdc679;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af3e",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 57.949,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73611,
    "c": 0.13285,
    "h": 107.3
  },
  "luminance": 0.40591
}

Semantic roles & 50–950 ramp

primary
#B3AF3E
secondary
#888AC5
accent
#54D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B3AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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