#B0A223#B0A223

#B0A223 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.3% C 0.138 H 102.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B0A223
RGBrgb(176, 162, 35)
HSLhsl(54, 67%, 41%)
HSVhsv(54, 80%, 69%)
CMYKcmyk(0%, 8%, 80.1%, 31%)
CIE-LABlab(65.90, -8.36, 62.08)
CIE-LCHlch(65.90, 62.64, 97.67°)
OKLaboklab(70.32% -0.0302 0.1345)
OKLCHoklch(70.32% 0.138 102.7)
XYZxyz(31.1297, 35.1935, 6.7431)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A223 #2331B0
analogous
#B05C23 #B0A223 #78B023
triadic
#B0A223 #23B0A2 #A223B0
tetradic
#B0A223 #23B05C #2331B0 #B02378
square
#B0A223 #23B05C #2331B0 #B02378
split-complementary
#B0A223 #2378B0 #5C23B0
monochromatic
#4A440F #7D7319 #B0A223 #D8C839 #E2D66C

Accessibility & contrast

On white

2.61
#B0A223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B0A223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A223
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A223#FFFFFF#000000##000000
##B0A2231.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#BE968B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b0a223;
/* rgb */ color: rgb(176, 162, 35);
/* oklch */ color: oklch(70.3% 0.138 102.7);
Tailwind
colors: {
  custom: {
    50: '#ccbd6a',
    500: '#b0a223',
    950: '#000000',
  },
}
SCSS
$custom: #b0a223;
$custom-light: #ccbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a223",
  "rgb": {
    "r": 176,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 54.043,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70318,
    "c": 0.13786,
    "h": 102.7
  },
  "luminance": 0.35192
}

Semantic roles & 50–950 ramp

primary
#B0A223
secondary
#6771C8
accent
#4FEA3E
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A223

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

Preview Lab → · Contrast checker → · Palette generator →

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