#B1A02E#B1A02E

#B1A02E is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.0% C 0.130 H 100.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B1A02E
RGBrgb(177, 160, 46)
HSLhsl(52, 59%, 44%)
HSVhsv(52, 74%, 69%)
CMYKcmyk(0%, 9.6%, 74%, 30.6%)
CIE-LABlab(65.50, -6.41, 58.05)
CIE-LCHlch(65.50, 58.40, 96.30°)
OKLaboklab(70.05% -0.0237 0.128)
OKLCHoklch(70.05% 0.13 100.5)
XYZxyz(31.1969, 34.6874, 7.6363)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A02E #2E3FB1
analogous
#B15E2E #B1A02E #80B12E
triadic
#B1A02E #2EB1A0 #A02EB1
tetradic
#B1A02E #2EB15E #2E3FB1 #B12E80
square
#B1A02E #2EB15E #2E3FB1 #B12E80
split-complementary
#B1A02E #2E80B1 #5E2EB1
monochromatic
#504815 #807421 #B1A02E #D0BF4C #DDD07C

Accessibility & contrast

On white

2.65
#B1A02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B1A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A02E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A02E#FFFFFF#000000##000000
##B1A02E1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#BF948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a02e;
/* rgb */ color: rgb(177, 160, 46);
/* oklch */ color: oklch(70.0% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#ccbb6f',
    500: '#b1a02e',
    950: '#000000',
  },
}
SCSS
$custom: #b1a02e;
$custom-light: #ccbb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a02e",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 52.214,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70045,
    "c": 0.13019,
    "h": 100.5
  },
  "luminance": 0.34686
}

Semantic roles & 50–950 ramp

primary
#B1A02E
secondary
#7580C6
accent
#5AE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B1A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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