#B2AF3C#B2AF3C

#B2AF3C is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.134 H 107.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#B2AF3C
RGBrgb(178, 175, 60)
HSLhsl(58, 50%, 47%)
HSVhsv(58, 66%, 70%)
CMYKcmyk(0%, 1.7%, 66.3%, 30.2%)
CIE-LABlab(69.79, -13.09, 56.89)
CIE-LCHlch(69.79, 58.38, 102.96°)
OKLaboklab(73.51% -0.0412 0.128)
OKLCHoklch(73.51% 0.134 107.8)
XYZxyz(34.5069, 40.4522, 10.2645)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF3C #3C3FB2
analogous
#B2743C #B2AF3C #7AB23C
triadic
#B2AF3C #3CB2AF #AF3CB2
tetradic
#B2AF3C #3CB274 #3C3FB2 #B23C7A
square
#B2AF3C #3CB274 #3C3FB2 #B23C7A
split-complementary
#B2AF3C #3C7AB2 #743CB2
monochromatic
#56551D #84822D #B2AF3C #CAC761 #D9D78F

Accessibility & contrast

On white

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

On black

9.09
#B2AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AF3C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AF3C#FFFFFF#000000##000000
##B2AF3C1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82C
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#BFA498
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2af3c;
/* rgb */ color: rgb(178, 175, 60);
/* oklch */ color: oklch(73.5% 0.134 107.8);
Tailwind
colors: {
  custom: {
    50: '#ccc678',
    500: '#b2af3c',
    950: '#000000',
  },
}
SCSS
$custom: #b2af3c;
$custom-light: #ccc678;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af3c",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 58.475,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73506,
    "c": 0.13448,
    "h": 107.8
  },
  "luminance": 0.40451
}

Semantic roles & 50–950 ramp

primary
#B2AF3C
secondary
#8687C4
accent
#52D94F
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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