#B0A227#B0A227

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

Color values

HEX#B0A227
RGBrgb(176, 162, 39)
HSLhsl(54, 64%, 42%)
HSVhsv(54, 78%, 69%)
CMYKcmyk(0%, 8%, 77.8%, 31%)
CIE-LABlab(65.92, -8.21, 60.84)
CIE-LCHlch(65.92, 61.39, 97.69°)
OKLaboklab(70.34% -0.0294 0.1326)
OKLCHoklch(70.34% 0.136 102.5)
XYZxyz(31.1925, 35.2186, 7.0739)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A227 #2735B0
analogous
#B05E27 #B0A227 #79B027
triadic
#B0A227 #27B0A2 #A227B0
tetradic
#B0A227 #27B05E #2735B0 #B02779
square
#B0A227 #27B05E #2735B0 #B02779
split-complementary
#B0A227 #2779B0 #5E27B0
monochromatic
#4C4611 #7E741C #B0A227 #D5C540 #E0D472

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0A227#FFFFFF#000000##000000
##B0A2271.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)
#B19D07
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#BE968B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b0a227;
/* rgb */ color: rgb(176, 162, 39);
/* oklch */ color: oklch(70.3% 0.136 102.5);
Tailwind
colors: {
  custom: {
    50: '#ccbd6c',
    500: '#b0a227',
    950: '#000000',
  },
}
SCSS
$custom: #b0a227;
$custom-light: #ccbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a227",
  "rgb": {
    "r": 176,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 53.869,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7034,
    "c": 0.13586,
    "h": 102.5
  },
  "luminance": 0.35217
}

Semantic roles & 50–950 ramp

primary
#B0A227
secondary
#6C75C7
accent
#52E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A227

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

Preview Lab → · Contrast checker → · Palette generator →

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