#B2AF41#B2AF41

#B2AF41 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.131 H 107.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#B2AF41
RGBrgb(178, 175, 65)
HSLhsl(58, 47%, 48%)
HSVhsv(58, 63%, 70%)
CMYKcmyk(0%, 1.7%, 63.5%, 30.2%)
CIE-LABlab(69.83, -12.79, 54.85)
CIE-LCHlch(69.83, 56.32, 103.12°)
OKLaboklab(73.55% -0.0398 0.1245)
OKLCHoklch(73.55% 0.131 107.7)
XYZxyz(34.6454, 40.5076, 10.9938)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF41 #4144B2
analogous
#B27641 #B2AF41 #7CB241
triadic
#B2AF41 #41B2AF #AF41B2
tetradic
#B2AF41 #41B276 #4144B2 #B2417C
square
#B2AF41 #41B276 #4144B2 #B2417C
split-complementary
#B2AF41 #417CB2 #7641B2
monochromatic
#585720 #858331 #B2AF41 #C8C568 #D8D795

Accessibility & contrast

On white

2.31
#B2AF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#B2AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AF41
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AF41#FFFFFF#000000##000000
##B2AF411.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA833
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#BEA498
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2af41;
/* rgb */ color: rgb(178, 175, 65);
/* oklch */ color: oklch(73.6% 0.131 107.7);
Tailwind
colors: {
  custom: {
    50: '#ccc67b',
    500: '#b2af41',
    950: '#000000',
  },
}
SCSS
$custom: #b2af41;
$custom-light: #ccc67b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af41",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 58.407,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7355,
    "c": 0.13069,
    "h": 107.7
  },
  "luminance": 0.40507
}

Semantic roles & 50–950 ramp

primary
#B2AF41
secondary
#8B8CC4
accent
#55D652
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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