#B1A92E#B1A92E

#B1A92E is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.0% C 0.138 H 105.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#B1A92E
RGBrgb(177, 169, 46)
HSLhsl(56, 59%, 44%)
HSVhsv(56, 74%, 69%)
CMYKcmyk(0%, 4.5%, 74%, 30.6%)
CIE-LABlab(67.96, -11.15, 60.39)
CIE-LCHlch(67.96, 61.41, 100.46°)
OKLaboklab(72% -0.0371 0.133)
OKLCHoklch(72% 0.138 105.6)
XYZxyz(32.8139, 37.9215, 8.1753)
Luminance0.3792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A92E #2E36B1
analogous
#B1672E #B1A92E #77B12E
triadic
#B1A92E #2EB1A9 #A92EB1
tetradic
#B1A92E #2EB167 #2E36B1 #B12E77
square
#B1A92E #2EB167 #2E36B1 #B12E77
split-complementary
#B1A92E #2E77B1 #672EB1
monochromatic
#504C15 #807B21 #B1A92E #D0C84C #DDD77C

Accessibility & contrast

On white

2.45
#B1A92E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#B1A92E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A92E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A92E#FFFFFF#000000##000000
##B1A92E1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A316
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#BE9D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1a92e;
/* rgb */ color: rgb(177, 169, 46);
/* oklch */ color: oklch(72.0% 0.138 105.6);
Tailwind
colors: {
  custom: {
    50: '#ccc270',
    500: '#b1a92e',
    950: '#000000',
  },
}
SCSS
$custom: #b1a92e;
$custom-light: #ccc270;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a92e",
  "rgb": {
    "r": 177,
    "g": 169,
    "b": 46
  },
  "hsl": {
    "h": 56.336,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72,
    "c": 0.13806,
    "h": 105.6
  },
  "luminance": 0.3792
}

Semantic roles & 50–950 ramp

primary
#B1A92E
secondary
#757AC6
accent
#4FE246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A92E

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

Preview Lab → · Contrast checker → · Palette generator →

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