#B1A230#B1A230

#B1A230 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.131 H 101.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B1A230
RGBrgb(177, 162, 48)
HSLhsl(53, 57%, 44%)
HSVhsv(53, 73%, 69%)
CMYKcmyk(0%, 8.5%, 72.9%, 30.6%)
CIE-LABlab(66.06, -7.38, 57.84)
CIE-LCHlch(66.06, 58.31, 97.27°)
OKLaboklab(70.49% -0.0263 0.128)
OKLCHoklch(70.49% 0.131 101.6)
XYZxyz(31.5867, 35.4026, 7.9653)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A230 #303FB1
analogous
#B16230 #B1A230 #80B130
triadic
#B1A230 #30B1A2 #A230B1
tetradic
#B1A230 #30B162 #303FB1 #B13080
square
#B1A230 #30B162 #303FB1 #B13080
split-complementary
#B1A230 #3080B1 #6230B1
monochromatic
#514A16 #817623 #B1A230 #CFC04F #DCD17F

Accessibility & contrast

On white

2.60
#B1A230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B1A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A230
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A230#FFFFFF#000000##000000
##B1A2301.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#B6A338
Tritanopia (blue-blind)
#BF968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a230;
/* rgb */ color: rgb(177, 162, 48);
/* oklch */ color: oklch(70.5% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#ccbd70',
    500: '#b1a230',
    950: '#000000',
  },
}
SCSS
$custom: #b1a230;
$custom-light: #ccbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a230",
  "rgb": {
    "r": 177,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 53.023,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70491,
    "c": 0.13062,
    "h": 101.6
  },
  "luminance": 0.35401
}

Semantic roles & 50–950 ramp

primary
#B1A230
secondary
#7881C5
accent
#59E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A230

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

Preview Lab → · Contrast checker → · Palette generator →

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