#B6AF2C#B6AF2C

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

Color values

HEX#B6AF2C
RGBrgb(182, 175, 44)
HSLhsl(57, 61%, 44%)
HSVhsv(57, 76%, 71%)
CMYKcmyk(0%, 3.8%, 75.8%, 28.6%)
CIE-LABlab(70.03, -12.16, 63.16)
CIE-LCHlch(70.03, 64.32, 100.90°)
OKLaboklab(73.75% -0.0404 0.1383)
OKLCHoklch(73.75% 0.144 106.3)
XYZxyz(35.0775, 40.7882, 8.4076)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF2C #2C33B6
analogous
#B66A2C #B6AF2C #78B62C
triadic
#B6AF2C #2CB6AF #AF2CB6
tetradic
#B6AF2C #2CB66A #2C33B6 #B62C78
square
#B6AF2C #2CB66A #2C33B6 #B62C78
split-complementary
#B6AF2C #2C78B6 #6A2CB6
monochromatic
#535014 #858020 #B6AF2C #D4CD4C #E0DB7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AF2C#FFFFFF#000000##000000
##B6AF2C1.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)
#BEA80D
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#C4A396
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b6af2c;
/* rgb */ color: rgb(182, 175, 44);
/* oklch */ color: oklch(73.7% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#d0c670',
    500: '#b6af2c',
    950: '#000000',
  },
}
SCSS
$custom: #b6af2c;
$custom-light: #d0c670;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af2c",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 56.957,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73745,
    "c": 0.14406,
    "h": 106.3
  },
  "luminance": 0.40787
}

Semantic roles & 50–950 ramp

primary
#B6AF2C
secondary
#767AC8
accent
#4CE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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