#B6AF34#B6AF34

#B6AF34 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.8% C 0.139 H 106.1°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#B6AF34
RGBrgb(182, 175, 52)
HSLhsl(57, 56%, 46%)
HSVhsv(57, 71%, 71%)
CMYKcmyk(0%, 3.8%, 71.4%, 28.6%)
CIE-LABlab(70.07, -11.80, 60.40)
CIE-LCHlch(70.07, 61.54, 101.05°)
OKLaboklab(73.8% -0.0386 0.1339)
OKLCHoklch(73.8% 0.139 106.1)
XYZxyz(35.2426, 40.8542, 9.2774)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF34 #343BB6
analogous
#B66E34 #B6AF34 #7CB634
triadic
#B6AF34 #34B6AF #AF34B6
tetradic
#B6AF34 #34B66E #343BB6 #B6347C
square
#B6AF34 #34B66E #343BB6 #B6347C
split-complementary
#B6AF34 #347CB6 #6E34B6
monochromatic
#575319 #868126 #B6AF34 #CFC958 #DDD888

Accessibility & contrast

On white

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

On black

9.17
#B6AF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AF34
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AF34#FFFFFF#000000##000000
##B6AF341.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81F
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#C3A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b6af34;
/* rgb */ color: rgb(182, 175, 52);
/* oklch */ color: oklch(73.8% 0.139 106.1);
Tailwind
colors: {
  custom: {
    50: '#cfc674',
    500: '#b6af34',
    950: '#000000',
  },
}
SCSS
$custom: #b6af34;
$custom-light: #cfc674;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af34",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 56.769,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73797,
    "c": 0.13937,
    "h": 106.1
  },
  "luminance": 0.40853
}

Semantic roles & 50–950 ramp

primary
#B6AF34
secondary
#7F83C7
accent
#51DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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