#B6AF2E#B6AF2E

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

Color values

HEX#B6AF2E
RGBrgb(182, 175, 46)
HSLhsl(57, 60%, 45%)
HSVhsv(57, 75%, 71%)
CMYKcmyk(0%, 3.8%, 74.7%, 28.6%)
CIE-LABlab(70.04, -12.08, 62.50)
CIE-LCHlch(70.04, 63.65, 100.94°)
OKLaboklab(73.76% -0.04 0.1373)
OKLCHoklch(73.76% 0.143 106.2)
XYZxyz(35.1160, 40.8036, 8.6104)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF2E #2E35B6
analogous
#B66B2E #B6AF2E #79B62E
triadic
#B6AF2E #2EB6AF #AF2EB6
tetradic
#B6AF2E #2EB66B #2E35B6 #B62E79
square
#B6AF2E #2EB66B #2E35B6 #B62E79
split-complementary
#B6AF2E #2E79B6 #6B2EB6
monochromatic
#545115 #858022 #B6AF2E #D2CC4F #DFDA80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AF2E#FFFFFF#000000##000000
##B6AF2E1.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)
#BEA813
Deuteranopia (green-blind)
#C1AE38
Tritanopia (blue-blind)
#C4A396
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b6af2e;
/* rgb */ color: rgb(182, 175, 46);
/* oklch */ color: oklch(73.8% 0.143 106.2);
Tailwind
colors: {
  custom: {
    50: '#d0c671',
    500: '#b6af2e',
    950: '#000000',
  },
}
SCSS
$custom: #b6af2e;
$custom-light: #d0c671;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af2e",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 56.912,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73757,
    "c": 0.14296,
    "h": 106.2
  },
  "luminance": 0.40802
}

Semantic roles & 50–950 ramp

primary
#B6AF2E
secondary
#787CC8
accent
#4DE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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