#B2AF39#B2AF39

#B2AF39 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.137 H 107.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#B2AF39
RGBrgb(178, 175, 57)
HSLhsl(59, 51%, 46%)
HSVhsv(59, 68%, 70%)
CMYKcmyk(0%, 1.7%, 68%, 30.2%)
CIE-LABlab(69.77, -13.27, 58.07)
CIE-LCHlch(69.77, 59.57, 102.87°)
OKLaboklab(73.48% -0.042 0.13)
OKLCHoklch(73.48% 0.137 107.9)
XYZxyz(34.4298, 40.4214, 9.8586)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF39 #393CB2
analogous
#B27239 #B2AF39 #78B239
triadic
#B2AF39 #39B2AF #AF39B2
tetradic
#B2AF39 #39B272 #393CB2 #B23978
square
#B2AF39 #39B272 #393CB2 #B23978
split-complementary
#B2AF39 #3978B2 #7239B2
monochromatic
#55541B #84812A #B2AF39 #CBC85D #DAD88B

Accessibility & contrast

On white

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

On black

9.08
#B2AF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AF39
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AF39#FFFFFF#000000##000000
##B2AF391.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA827
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#BFA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2af39;
/* rgb */ color: rgb(178, 175, 57);
/* oklch */ color: oklch(73.5% 0.137 107.9);
Tailwind
colors: {
  custom: {
    50: '#ccc676',
    500: '#b2af39',
    950: '#000000',
  },
}
SCSS
$custom: #b2af39;
$custom-light: #ccc676;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af39",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 58.512,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73482,
    "c": 0.13662,
    "h": 107.9
  },
  "luminance": 0.4042
}

Semantic roles & 50–950 ramp

primary
#B2AF39
secondary
#8284C4
accent
#50DB4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B2AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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