#B2AD3E#B2AD3E

#B2AD3E is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.1% C 0.131 H 106.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#B2AD3E
RGBrgb(178, 173, 62)
HSLhsl(57, 48%, 47%)
HSVhsv(57, 65%, 70%)
CMYKcmyk(0%, 2.8%, 65.2%, 30.2%)
CIE-LABlab(69.26, -11.94, 55.51)
CIE-LCHlch(69.26, 56.78, 102.14°)
OKLaboklab(73.08% -0.0377 0.1254)
OKLCHoklch(73.08% 0.131 106.7)
XYZxyz(34.1744, 39.7010, 10.4194)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD3E #3E43B2
analogous
#B2733E #B2AD3E #7DB23E
triadic
#B2AD3E #3EB2AD #AD3EB2
tetradic
#B2AD3E #3EB273 #3E43B2 #B23E7D
square
#B2AD3E #3EB273 #3E43B2 #B23E7D
split-complementary
#B2AD3E #3E7DB2 #733EB2
monochromatic
#57551E #85812E #B2AD3E #C9C564 #D9D692

Accessibility & contrast

On white

2.35
#B2AD3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#B2AD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD3E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD3E#FFFFFF#000000##000000
##B2AD3E1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72F
Deuteranopia (green-blind)
#BEAB45
Tritanopia (blue-blind)
#BFA296
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad3e;
/* rgb */ color: rgb(178, 173, 62);
/* oklch */ color: oklch(73.1% 0.131 106.7);
Tailwind
colors: {
  custom: {
    50: '#ccc579',
    500: '#b2ad3e',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad3e;
$custom-light: #ccc579;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad3e",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 62
  },
  "hsl": {
    "h": 57.414,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73085,
    "c": 0.13098,
    "h": 106.7
  },
  "luminance": 0.397
}

Semantic roles & 50–950 ramp

primary
#B2AD3E
secondary
#888AC4
accent
#56D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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