#B2AF47#B2AF47

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

Color values

HEX#B2AF47
RGBrgb(178, 175, 71)
HSLhsl(58, 43%, 49%)
HSVhsv(58, 60%, 70%)
CMYKcmyk(0%, 1.7%, 60.1%, 30.2%)
CIE-LABlab(69.88, -12.38, 52.29)
CIE-LCHlch(69.88, 53.74, 103.32°)
OKLaboklab(73.61% -0.038 0.1199)
OKLCHoklch(73.61% 0.126 107.6)
XYZxyz(34.8285, 40.5809, 11.9583)
Luminance0.4058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF47 #474AB2
analogous
#B27A47 #B2AF47 #80B247
triadic
#B2AF47 #47B2AF #AF47B2
tetradic
#B2AF47 #47B27A #474AB2 #B24780
square
#B2AF47 #47B27A #474AB2 #B24780
split-complementary
#B2AF47 #4780B2 #7A47B2
monochromatic
#5B5924 #868436 #B2AF47 #C6C470 #D7D69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AF47#FFFFFF#000000##000000
##B2AF471.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)
#BDA93B
Deuteranopia (green-blind)
#BFAD4D
Tritanopia (blue-blind)
#BEA499
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2af47;
/* rgb */ color: rgb(178, 175, 71);
/* oklch */ color: oklch(73.6% 0.126 107.6);
Tailwind
colors: {
  custom: {
    50: '#ccc67f',
    500: '#b2af47',
    950: '#000000',
  },
}
SCSS
$custom: #b2af47;
$custom-light: #ccc67f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af47",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 58.318,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73608,
    "c": 0.1258,
    "h": 107.6
  },
  "luminance": 0.4058
}

Semantic roles & 50–950 ramp

primary
#B2AF47
secondary
#9192C4
accent
#59D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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