#B0AF1C#B0AF1C

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

Color values

HEX#B0AF1C
RGBrgb(176, 175, 28)
HSLhsl(60, 73%, 40%)
HSVhsv(60, 84%, 69%)
CMYKcmyk(0%, 0.6%, 84.1%, 31%)
CIE-LABlab(69.45, -15.33, 67.01)
CIE-LCHlch(69.45, 68.74, 102.89°)
OKLaboklab(73.14% -0.0501 0.1439)
OKLCHoklch(73.14% 0.152 109.2)
XYZxyz(33.4454, 39.9750, 7.0526)
Luminance0.3997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF1C #1C1DB0
analogous
#B0651C #B0AF1C #67B01C
triadic
#B0AF1C #1CB0AF #AF1CB0
tetradic
#B0AF1C #1CB065 #1C1DB0 #B01C67
square
#B0AF1C #1CB065 #1C1DB0 #B01C67
split-complementary
#B0AF1C #1C67B0 #651CB0
monochromatic
#46460B #7B7B14 #B0AF1C #DDDC2C #E6E561

Accessibility & contrast

On white

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

On black

8.99
#B0AF1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF1C
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF1C#FFFFFF#000000##000000
##B0AF1C1.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0af1c;
/* rgb */ color: rgb(176, 175, 28);
/* oklch */ color: oklch(73.1% 0.152 109.2);
Tailwind
colors: {
  custom: {
    50: '#ccc669',
    500: '#b0af1c',
    950: '#000000',
  },
}
SCSS
$custom: #b0af1c;
$custom-light: #ccc669;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af1c",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 28
  },
  "hsl": {
    "h": 59.595,
    "s": 72.549,
    "l": 40
  },
  "oklch": {
    "l": 0.73141,
    "c": 0.15239,
    "h": 109.2
  },
  "luminance": 0.39974
}

Semantic roles & 50–950 ramp

primary
#B0AF1C
secondary
#5E5ECA
accent
#3AEF39
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B0AF1C

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

Preview Lab → · Contrast checker → · Palette generator →

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