#B6AF30#B6AF30

#B6AF30 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.142 H 106.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B6AF30
RGBrgb(182, 175, 48)
HSLhsl(57, 58%, 45%)
HSVhsv(57, 74%, 71%)
CMYKcmyk(0%, 3.8%, 73.6%, 28.6%)
CIE-LABlab(70.05, -11.99, 61.81)
CIE-LCHlch(70.05, 62.97, 100.98°)
OKLaboklab(73.77% -0.0395 0.1362)
OKLCHoklch(73.77% 0.142 106.2)
XYZxyz(35.1563, 40.8197, 8.8229)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF30 #3037B6
analogous
#B66C30 #B6AF30 #7AB630
triadic
#B6AF30 #30B6AF #AF30B6
tetradic
#B6AF30 #30B66C #3037B6 #B6307A
square
#B6AF30 #30B66C #3037B6 #B6307A
split-complementary
#B6AF30 #307AB6 #6C30B6
monochromatic
#555216 #868023 #B6AF30 #D1CB52 #DED982

Accessibility & contrast

On white

2.29
#B6AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B6AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AF30
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AF30#FFFFFF#000000##000000
##B6AF301.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA817
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#C4A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b6af30;
/* rgb */ color: rgb(182, 175, 48);
/* oklch */ color: oklch(73.8% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#d0c672',
    500: '#b6af30',
    950: '#000000',
  },
}
SCSS
$custom: #b6af30;
$custom-light: #d0c672;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af30",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 56.866,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73769,
    "c": 0.14181,
    "h": 106.2
  },
  "luminance": 0.40818
}

Semantic roles & 50–950 ramp

primary
#B6AF30
secondary
#7B7FC7
accent
#4EE146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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