#B0AF27#B0AF27

#B0AF27 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#B0AF27
RGBrgb(176, 175, 39)
HSLhsl(60, 64%, 42%)
HSVhsv(60, 78%, 69%)
CMYKcmyk(0%, 0.6%, 77.8%, 31%)
CIE-LABlab(69.50, -14.97, 64.07)
CIE-LCHlch(69.50, 65.80, 103.15°)
OKLaboklab(73.19% -0.0484 0.1396)
OKLCHoklch(73.19% 0.148 109.1)
XYZxyz(33.6020, 40.0376, 7.8771)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF27 #2728B0
analogous
#B06B27 #B0AF27 #6DB027
triadic
#B0AF27 #27B0AF #AF27B0
tetradic
#B0AF27 #27B06B #2728B0 #B0276D
square
#B0AF27 #27B06B #2728B0 #B0276D
split-complementary
#B0AF27 #276DB0 #6B27B0
monochromatic
#4C4B11 #7E7D1C #B0AF27 #D5D440 #E0DF72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0AF27#FFFFFF#000000##000000
##B0AF271.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)
#BFAC33
Tritanopia (blue-blind)
#BDA396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0af27;
/* rgb */ color: rgb(176, 175, 39);
/* oklch */ color: oklch(73.2% 0.148 109.1);
Tailwind
colors: {
  custom: {
    50: '#cbc66d',
    500: '#b0af27',
    950: '#000000',
  },
}
SCSS
$custom: #b0af27;
$custom-light: #cbc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af27",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 59.562,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.73191,
    "c": 0.14769,
    "h": 109.1
  },
  "luminance": 0.40037
}

Semantic roles & 50–950 ramp

primary
#B0AF27
secondary
#6C6DC7
accent
#42E741
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B0AF27

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

Preview Lab → · Contrast checker → · Palette generator →

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