#B2AF4A#B2AF4A

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

Color values

HEX#B2AF4A
RGBrgb(178, 175, 74)
HSLhsl(58, 41%, 49%)
HSVhsv(58, 58%, 70%)
CMYKcmyk(0%, 1.7%, 58.4%, 30.2%)
CIE-LABlab(69.91, -12.16, 50.97)
CIE-LCHlch(69.91, 52.40, 103.42°)
OKLaboklab(73.64% -0.037 0.1175)
OKLCHoklch(73.64% 0.123 107.5)
XYZxyz(34.9272, 40.6204, 12.4779)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF4A #4A4DB2
analogous
#B27B4A #B2AF4A #81B24A
triadic
#B2AF4A #4AB2AF #AF4AB2
tetradic
#B2AF4A #4AB27B #4A4DB2 #B24A81
square
#B2AF4A #4AB27B #4A4DB2 #B24A81
split-complementary
#B2AF4A #4A81B2 #7B4AB2
monochromatic
#5C5A26 #878538 #B2AF4A #C5C374 #D7D69F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AF4A#FFFFFF#000000##000000
##B2AF4A1.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)
#BCA93F
Deuteranopia (green-blind)
#BEAD50
Tritanopia (blue-blind)
#BEA599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2af4a;
/* rgb */ color: rgb(178, 175, 74);
/* oklch */ color: oklch(73.6% 0.123 107.5);
Tailwind
colors: {
  custom: {
    50: '#cbc680',
    500: '#b2af4a',
    950: '#000000',
  },
}
SCSS
$custom: #b2af4a;
$custom-light: #cbc680;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af4a",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 58.269,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73639,
    "c": 0.12321,
    "h": 107.5
  },
  "luminance": 0.40619
}

Semantic roles & 50–950 ramp

primary
#B2AF4A
secondary
#9495C4
accent
#5AD157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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