#B1A83E#B1A83E

#B1A83E is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.126 H 104.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B1A83E
RGBrgb(177, 168, 62)
HSLhsl(55, 48%, 47%)
HSVhsv(55, 65%, 69%)
CMYKcmyk(0%, 5.1%, 65%, 30.6%)
CIE-LABlab(67.80, -9.77, 53.96)
CIE-LCHlch(67.80, 54.84, 100.26°)
OKLaboklab(71.91% -0.0315 0.1222)
OKLCHoklch(71.91% 0.126 104.5)
XYZxyz(33.0048, 37.7014, 10.0950)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A83E #3E47B1
analogous
#B16E3E #B1A83E #81B13E
triadic
#B1A83E #3EB1A8 #A83EB1
tetradic
#B1A83E #3EB16E #3E47B1 #B13E81
square
#B1A83E #3EB16E #3E47B1 #B13E81
split-complementary
#B1A83E #3E81B1 #6E3EB1
monochromatic
#56521E #847D2E #B1A83E #C9C164 #D8D391

Accessibility & contrast

On white

2.46
#B1A83E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B1A83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A83E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A83E#FFFFFF#000000##000000
##B1A83E1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A230
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#BE9D92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a83e;
/* rgb */ color: rgb(177, 168, 62);
/* oklch */ color: oklch(71.9% 0.126 104.5);
Tailwind
colors: {
  custom: {
    50: '#cbc179',
    500: '#b1a83e',
    950: '#000000',
  },
}
SCSS
$custom: #b1a83e;
$custom-light: #cbc179;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a83e",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 62
  },
  "hsl": {
    "h": 55.304,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71906,
    "c": 0.12618,
    "h": 104.5
  },
  "luminance": 0.377
}

Semantic roles & 50–950 ramp

primary
#B1A83E
secondary
#878CC4
accent
#5BD850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B1A83E

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

Preview Lab → · Contrast checker → · Palette generator →

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