#B2AF49#B2AF49

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

Color values

HEX#B2AF49
RGBrgb(178, 175, 73)
HSLhsl(58, 42%, 49%)
HSVhsv(58, 59%, 70%)
CMYKcmyk(0%, 1.7%, 59%, 30.2%)
CIE-LABlab(69.90, -12.24, 51.42)
CIE-LCHlch(69.90, 52.85, 103.39°)
OKLaboklab(73.63% -0.0373 0.1183)
OKLCHoklch(73.63% 0.124 107.5)
XYZxyz(34.8937, 40.6070, 12.3019)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF49 #494CB2
analogous
#B27B49 #B2AF49 #81B249
triadic
#B2AF49 #49B2AF #AF49B2
tetradic
#B2AF49 #49B27B #494CB2 #B24981
square
#B2AF49 #49B27B #494CB2 #B24981
split-complementary
#B2AF49 #4981B2 #7B49B2
monochromatic
#5B5A25 #878437 #B2AF49 #C5C373 #D7D69E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AF49#FFFFFF#000000##000000
##B2AF491.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)
#BCA93E
Deuteranopia (green-blind)
#BEAD4F
Tritanopia (blue-blind)
#BEA599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2af49;
/* rgb */ color: rgb(178, 175, 73);
/* oklch */ color: oklch(73.6% 0.124 107.5);
Tailwind
colors: {
  custom: {
    50: '#ccc680',
    500: '#b2af49',
    950: '#000000',
  },
}
SCSS
$custom: #b2af49;
$custom-light: #ccc680;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af49",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 58.286,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73629,
    "c": 0.12408,
    "h": 107.5
  },
  "luminance": 0.40606
}

Semantic roles & 50–950 ramp

primary
#B2AF49
secondary
#9394C4
accent
#5AD256
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2AF49

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

Preview Lab → · Contrast checker → · Palette generator →

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