#B0AF23#B0AF23

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

Color values

HEX#B0AF23
RGBrgb(176, 175, 35)
HSLhsl(60, 67%, 41%)
HSVhsv(60, 80%, 69%)
CMYKcmyk(0%, 0.6%, 80.1%, 31%)
CIE-LABlab(69.48, -15.12, 65.22)
CIE-LCHlch(69.48, 66.95, 103.05°)
OKLaboklab(73.17% -0.0491 0.1413)
OKLCHoklch(73.17% 0.15 109.2)
XYZxyz(33.5392, 40.0125, 7.5462)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF23 #2324B0
analogous
#B06923 #B0AF23 #6BB023
triadic
#B0AF23 #23B0AF #AF23B0
tetradic
#B0AF23 #23B069 #2324B0 #B0236B
square
#B0AF23 #23B069 #2324B0 #B0236B
split-complementary
#B0AF23 #236BB0 #6923B0
monochromatic
#4A490F #7D7C19 #B0AF23 #D8D639 #E2E16C

Accessibility & contrast

On white

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

On black

9.00
#B0AF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF23
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF23#FFFFFF#000000##000000
##B0AF231.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0af23;
/* rgb */ color: rgb(176, 175, 35);
/* oklch */ color: oklch(73.2% 0.150 109.2);
Tailwind
colors: {
  custom: {
    50: '#ccc66c',
    500: '#b0af23',
    950: '#000000',
  },
}
SCSS
$custom: #b0af23;
$custom-light: #ccc66c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af23",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 59.574,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.73171,
    "c": 0.14956,
    "h": 109.2
  },
  "luminance": 0.40011
}

Semantic roles & 50–950 ramp

primary
#B0AF23
secondary
#6768C8
accent
#3FEA3E
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B0AF23

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

Preview Lab → · Contrast checker → · Palette generator →

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