#B1AD3E#B1AD3E

#B1AD3E is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.0% C 0.131 H 107.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#B1AD3E
RGBrgb(177, 173, 62)
HSLhsl(58, 48%, 47%)
HSVhsv(58, 65%, 69%)
CMYKcmyk(0%, 2.3%, 65%, 30.6%)
CIE-LABlab(69.17, -12.37, 55.40)
CIE-LCHlch(69.17, 56.76, 102.59°)
OKLaboklab(73% -0.0389 0.1252)
OKLCHoklch(73% 0.131 107.2)
XYZxyz(33.9457, 39.5831, 10.4087)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD3E #3E42B1
analogous
#B1743E #B1AD3E #7CB13E
triadic
#B1AD3E #3EB1AD #AD3EB1
tetradic
#B1AD3E #3EB174 #3E42B1 #B13E7C
square
#B1AD3E #3EB174 #3E42B1 #B13E7C
split-complementary
#B1AD3E #3E7CB1 #743EB1
monochromatic
#56541E #84812E #B1AD3E #C9C564 #D8D691

Accessibility & contrast

On white

2.36
#B1AD3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#B1AD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AD3E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AD3E#FFFFFF#000000##000000
##B1AD3E1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62F
Deuteranopia (green-blind)
#BDAB45
Tritanopia (blue-blind)
#BDA296
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b1ad3e;
/* rgb */ color: rgb(177, 173, 62);
/* oklch */ color: oklch(73.0% 0.131 107.2);
Tailwind
colors: {
  custom: {
    50: '#cbc579',
    500: '#b1ad3e',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad3e;
$custom-light: #cbc579;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad3e",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 62
  },
  "hsl": {
    "h": 57.913,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72998,
    "c": 0.13112,
    "h": 107.2
  },
  "luminance": 0.39582
}

Semantic roles & 50–950 ramp

primary
#B1AD3E
secondary
#8789C4
accent
#55D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B1AD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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