#B0A727#B0A727

#B0A727 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.140 H 105.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B0A727
RGBrgb(176, 167, 39)
HSLhsl(56, 64%, 42%)
HSVhsv(56, 78%, 69%)
CMYKcmyk(0%, 5.1%, 77.8%, 31%)
CIE-LABlab(67.29, -10.84, 62.08)
CIE-LCHlch(67.29, 63.02, 99.90°)
OKLaboklab(71.43% -0.0368 0.1353)
OKLCHoklch(71.43% 0.14 105.2)
XYZxyz(32.0908, 37.0153, 7.3733)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A727 #2730B0
analogous
#B06227 #B0A727 #75B027
triadic
#B0A727 #27B0A7 #A727B0
tetradic
#B0A727 #27B062 #2730B0 #B02775
square
#B0A727 #27B062 #2730B0 #B02775
split-complementary
#B0A727 #2775B0 #6227B0
monochromatic
#4C4811 #7E771C #B0A727 #D5CB40 #E0D872

Accessibility & contrast

On white

2.50
#B0A727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B0A727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A727
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A727#FFFFFF#000000##000000
##B0A7271.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A104
Deuteranopia (green-blind)
#B9A631
Tritanopia (blue-blind)
#BD9B8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b0a727;
/* rgb */ color: rgb(176, 167, 39);
/* oklch */ color: oklch(71.4% 0.140 105.2);
Tailwind
colors: {
  custom: {
    50: '#cbc06c',
    500: '#b0a727',
    950: '#000000',
  },
}
SCSS
$custom: #b0a727;
$custom-light: #cbc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a727",
  "rgb": {
    "r": 176,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 56.058,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7143,
    "c": 0.14021,
    "h": 105.2
  },
  "luminance": 0.37014
}

Semantic roles & 50–950 ramp

primary
#B0A727
secondary
#6C72C7
accent
#4CE741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0A727

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

Preview Lab → · Contrast checker → · Palette generator →

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