#B6AD2F#B6AD2F

#B6AD2F is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.3% C 0.141 H 105.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B6AD2F
RGBrgb(182, 173, 47)
HSLhsl(56, 59%, 45%)
HSVhsv(56, 74%, 71%)
CMYKcmyk(0%, 4.9%, 74.2%, 28.6%)
CIE-LABlab(69.50, -11.00, 61.64)
CIE-LCHlch(69.50, 62.62, 100.12°)
OKLaboklab(73.33% -0.0368 0.1356)
OKLCHoklch(73.33% 0.141 105.2)
XYZxyz(34.7495, 40.0388, 8.5866)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AD2F #2F38B6
analogous
#B66A2F #B6AD2F #7CB62F
triadic
#B6AD2F #2FB6AD #AD2FB6
tetradic
#B6AD2F #2FB66A #2F38B6 #B62F7C
square
#B6AD2F #2FB66A #2F38B6 #B62F7C
split-complementary
#B6AD2F #2F7CB6 #6A2FB6
monochromatic
#555116 #857F22 #B6AD2F #D2C950 #DED881

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AD2F#FFFFFF#000000##000000
##B6AD2F1.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)
#BCA716
Deuteranopia (green-blind)
#C0AC38
Tritanopia (blue-blind)
#C4A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b6ad2f;
/* rgb */ color: rgb(182, 173, 47);
/* oklch */ color: oklch(73.3% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#d0c571',
    500: '#b6ad2f',
    950: '#000000',
  },
}
SCSS
$custom: #b6ad2f;
$custom-light: #d0c571;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ad2f",
  "rgb": {
    "r": 182,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 56,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73328,
    "c": 0.14054,
    "h": 105.2
  },
  "luminance": 0.40037
}

Semantic roles & 50–950 ramp

primary
#B6AD2F
secondary
#797FC7
accent
#50E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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