#B0A826#B0A826

#B0A826 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.6% C 0.142 H 105.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B0A826
RGBrgb(176, 168, 38)
HSLhsl(57, 64%, 42%)
HSVhsv(57, 78%, 69%)
CMYKcmyk(0%, 4.5%, 78.4%, 31%)
CIE-LABlab(67.56, -11.40, 62.64)
CIE-LCHlch(67.56, 63.67, 100.31°)
OKLaboklab(71.64% -0.0385 0.1363)
OKLCHoklch(71.64% 0.142 105.8)
XYZxyz(32.2584, 37.3766, 7.3485)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A826 #262EB0
analogous
#B06326 #B0A826 #73B026
triadic
#B0A826 #26B0A8 #A826B0
tetradic
#B0A826 #26B063 #262EB0 #B02673
square
#B0A826 #26B063 #262EB0 #B02673
split-complementary
#B0A826 #2673B0 #6326B0
monochromatic
#4B4810 #7E781B #B0A826 #D5CD3E #E0DA70

Accessibility & contrast

On white

2.48
#B0A826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B0A826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A826
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A826#FFFFFF#000000##000000
##B0A8261.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#BAA731
Tritanopia (blue-blind)
#BD9C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b0a826;
/* rgb */ color: rgb(176, 168, 38);
/* oklch */ color: oklch(71.6% 0.142 105.8);
Tailwind
colors: {
  custom: {
    50: '#cbc16c',
    500: '#b0a826',
    950: '#000000',
  },
}
SCSS
$custom: #b0a826;
$custom-light: #cbc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a826",
  "rgb": {
    "r": 176,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 56.522,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71643,
    "c": 0.14161,
    "h": 105.8
  },
  "luminance": 0.37375
}

Semantic roles & 50–950 ramp

primary
#B0A826
secondary
#6B70C7
accent
#4AE740
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A826

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

Preview Lab → · Contrast checker → · Palette generator →

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