#B2AF46#B2AF46

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

Color values

HEX#B2AF46
RGBrgb(178, 175, 70)
HSLhsl(58, 44%, 49%)
HSVhsv(58, 61%, 70%)
CMYKcmyk(0%, 1.7%, 60.7%, 30.2%)
CIE-LABlab(69.87, -12.45, 52.73)
CIE-LCHlch(69.87, 54.18, 103.29°)
OKLaboklab(73.6% -0.0383 0.1207)
OKLCHoklch(73.6% 0.127 107.6)
XYZxyz(34.7967, 40.5682, 11.7906)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF46 #4649B2
analogous
#B27946 #B2AF46 #7FB246
triadic
#B2AF46 #46B2AF #AF46B2
tetradic
#B2AF46 #46B279 #4649B2 #B2467F
square
#B2AF46 #46B279 #4649B2 #B2467F
split-complementary
#B2AF46 #467FB2 #7946B2
monochromatic
#5A5923 #868435 #B2AF46 #C6C46F #D8D69B

Accessibility & contrast

On white

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

On black

9.11
#B2AF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AF46
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AF46#FFFFFF#000000##000000
##B2AF461.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA83A
Deuteranopia (green-blind)
#BFAD4C
Tritanopia (blue-blind)
#BEA499
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2af46;
/* rgb */ color: rgb(178, 175, 70);
/* oklch */ color: oklch(73.6% 0.127 107.6);
Tailwind
colors: {
  custom: {
    50: '#ccc67e',
    500: '#b2af46',
    950: '#000000',
  },
}
SCSS
$custom: #b2af46;
$custom-light: #ccc67e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af46",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 58.333,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73598,
    "c": 0.12665,
    "h": 107.6
  },
  "luminance": 0.40567
}

Semantic roles & 50–950 ramp

primary
#B2AF46
secondary
#9091C4
accent
#58D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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