#B6AF2F#B6AF2F

#B6AF2F 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#B6AF2F
RGBrgb(182, 175, 47)
HSLhsl(57, 59%, 45%)
HSVhsv(57, 74%, 71%)
CMYKcmyk(0%, 3.8%, 74.2%, 28.6%)
CIE-LABlab(70.04, -12.03, 62.16)
CIE-LCHlch(70.04, 63.31, 100.96°)
OKLaboklab(73.76% -0.0397 0.1367)
OKLCHoklch(73.76% 0.142 106.2)
XYZxyz(35.1359, 40.8116, 8.7154)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF2F #2F36B6
analogous
#B66C2F #B6AF2F #79B62F
triadic
#B6AF2F #2FB6AF #AF2FB6
tetradic
#B6AF2F #2FB66C #2F36B6 #B62F79
square
#B6AF2F #2FB66C #2F36B6 #B62F79
split-complementary
#B6AF2F #2F79B6 #6C2FB6
monochromatic
#555116 #858022 #B6AF2F #D2CB50 #DEDA81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AF2F#FFFFFF#000000##000000
##B6AF2F1.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)
#BEA815
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#C4A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b6af2f;
/* rgb */ color: rgb(182, 175, 47);
/* oklch */ color: oklch(73.8% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#d0c671',
    500: '#b6af2f',
    950: '#000000',
  },
}
SCSS
$custom: #b6af2f;
$custom-light: #d0c671;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af2f",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 56.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73763,
    "c": 0.14239,
    "h": 106.2
  },
  "luminance": 0.4081
}

Semantic roles & 50–950 ramp

primary
#B6AF2F
secondary
#797DC7
accent
#4EE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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