#B2AD4F#B2AD4F

#B2AD4F is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.117 H 106.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B2AD4F
RGBrgb(178, 173, 79)
HSLhsl(57, 39%, 50%)
HSVhsv(57, 56%, 70%)
CMYKcmyk(0%, 2.8%, 55.6%, 30.2%)
CIE-LABlab(69.41, -10.74, 48.10)
CIE-LCHlch(69.41, 49.28, 102.59°)
OKLaboklab(73.26% -0.0324 0.112)
OKLCHoklch(73.26% 0.117 106.1)
XYZxyz(34.7160, 39.9177, 13.2718)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD4F #4F54B2
analogous
#B27C4F #B2AD4F #85B24F
triadic
#B2AD4F #4FB2AD #AD4FB2
tetradic
#B2AD4F #4FB27C #4F54B2 #B24F85
square
#B2AD4F #4FB27C #4F54B2 #B24F85
split-complementary
#B2AD4F #4F85B2 #7C4FB2
monochromatic
#5E5B29 #88843C #B2AD4F #C5C17A #D7D5A4

Accessibility & contrast

On white

2.34
#B2AD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B2AD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD4F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD4F#FFFFFF#000000##000000
##B2AD4F1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA746
Deuteranopia (green-blind)
#BCAB54
Tritanopia (blue-blind)
#BEA398
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad4f;
/* rgb */ color: rgb(178, 173, 79);
/* oklch */ color: oklch(73.3% 0.117 106.1);
Tailwind
colors: {
  custom: {
    50: '#cbc583',
    500: '#b2ad4f',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad4f;
$custom-light: #cbc583;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad4f",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 79
  },
  "hsl": {
    "h": 56.97,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73258,
    "c": 0.11657,
    "h": 106.1
  },
  "luminance": 0.39917
}

Semantic roles & 50–950 ramp

primary
#B2AD4F
secondary
#989BC4
accent
#5FCF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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