#B1A023#B1A023

#B1A023 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.136 H 101.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B1A023
RGBrgb(177, 160, 35)
HSLhsl(53, 67%, 42%)
HSVhsv(53, 80%, 69%)
CMYKcmyk(0%, 9.6%, 80.2%, 30.6%)
CIE-LABlab(65.45, -6.86, 61.71)
CIE-LCHlch(65.45, 62.09, 96.34°)
OKLaboklab(69.98% -0.026 0.1337)
OKLCHoklch(69.98% 0.136 101)
XYZxyz(31.0072, 34.6116, 6.6372)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A023 #2334B1
analogous
#B15923 #B1A023 #7BB123
triadic
#B1A023 #23B1A0 #A023B1
tetradic
#B1A023 #23B159 #2334B1 #B1237B
square
#B1A023 #23B159 #2334B1 #B1237B
split-complementary
#B1A023 #237BB1 #5923B1
monochromatic
#4B440F #7E7219 #B1A023 #D8C539 #E2D46C

Accessibility & contrast

On white

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

On black

7.92
#B1A023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A023
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A023#FFFFFF#000000##000000
##B1A0231.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#BF9489
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a023;
/* rgb */ color: rgb(177, 160, 35);
/* oklch */ color: oklch(70.0% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#ccbb6a',
    500: '#b1a023',
    950: '#000000',
  },
}
SCSS
$custom: #b1a023;
$custom-light: #ccbb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a023",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 52.817,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69979,
    "c": 0.13618,
    "h": 101
  },
  "luminance": 0.3461
}

Semantic roles & 50–950 ramp

primary
#B1A023
secondary
#6873C8
accent
#53EA3E
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B1A023

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

Preview Lab → · Contrast checker → · Palette generator →

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