#B2AF50#B2AF50

#B2AF50 is a light, moderate yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.118 H 107.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B2AF50
RGBrgb(178, 175, 80)
HSLhsl(58, 39%, 51%)
HSVhsv(58, 55%, 70%)
CMYKcmyk(0%, 1.7%, 55.1%, 30.2%)
CIE-LABlab(69.97, -11.70, 48.26)
CIE-LCHlch(69.97, 49.66, 103.63°)
OKLaboklab(73.71% -0.035 0.1124)
OKLCHoklch(73.71% 0.118 107.3)
XYZxyz(35.1390, 40.7051, 13.5937)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF50 #5053B2
analogous
#B27E50 #B2AF50 #84B250
triadic
#B2AF50 #50B2AF #AF50B2
tetradic
#B2AF50 #50B27E #5053B2 #B25084
square
#B2AF50 #50B27E #5053B2 #B25084
split-complementary
#B2AF50 #5084B2 #7E50B2
monochromatic
#5E5D29 #89863C #B2AF50 #C5C27A #D7D6A5

Accessibility & contrast

On white

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

On black

9.14
#B2AF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AF50
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AF50#FFFFFF#000000##000000
##B2AF501.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA946
Deuteranopia (green-blind)
#BEAD55
Tritanopia (blue-blind)
#BDA59A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2af50;
/* rgb */ color: rgb(178, 175, 80);
/* oklch */ color: oklch(73.7% 0.118 107.3);
Tailwind
colors: {
  custom: {
    50: '#cbc684',
    500: '#b2af50',
    950: '#000000',
  },
}
SCSS
$custom: #b2af50;
$custom-light: #cbc684;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af50",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 58.163,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73706,
    "c": 0.11777,
    "h": 107.3
  },
  "luminance": 0.40704
}

Semantic roles & 50–950 ramp

primary
#B2AF50
secondary
#999AC5
accent
#5DCF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2AF50

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

Preview Lab → · Contrast checker → · Palette generator →

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