#B0AF26#B0AF26

#B0AF26 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.148 H 109.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B0AF26
RGBrgb(176, 175, 38)
HSLhsl(60, 64%, 42%)
HSVhsv(60, 78%, 69%)
CMYKcmyk(0%, 0.6%, 78.4%, 31%)
CIE-LABlab(69.49, -15.01, 64.37)
CIE-LCHlch(69.49, 66.10, 103.13°)
OKLaboklab(73.19% -0.0485 0.14)
OKLCHoklch(73.19% 0.148 109.1)
XYZxyz(33.5856, 40.0311, 7.7909)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF26 #2627B0
analogous
#B06A26 #B0AF26 #6CB026
triadic
#B0AF26 #26B0AF #AF26B0
tetradic
#B0AF26 #26B06A #2627B0 #B0266C
square
#B0AF26 #26B06A #2627B0 #B0266C
split-complementary
#B0AF26 #266CB0 #6A26B0
monochromatic
#4B4B10 #7E7D1B #B0AF26 #D5D43E #E0DF70

Accessibility & contrast

On white

2.33
#B0AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B0AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF26
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF26#FFFFFF#000000##000000
##B0AF261.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BFAC32
Tritanopia (blue-blind)
#BDA396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0af26;
/* rgb */ color: rgb(176, 175, 38);
/* oklch */ color: oklch(73.2% 0.148 109.1);
Tailwind
colors: {
  custom: {
    50: '#cbc66d',
    500: '#b0af26',
    950: '#000000',
  },
}
SCSS
$custom: #b0af26;
$custom-light: #cbc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af26",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 59.565,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.73185,
    "c": 0.14818,
    "h": 109.1
  },
  "luminance": 0.4003
}

Semantic roles & 50–950 ramp

primary
#B0AF26
secondary
#6B6BC7
accent
#42E740
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B0AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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