#B8AF3E#B8AF3E

#B8AF3E is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.1% C 0.132 H 104.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B8AF3E
RGBrgb(184, 175, 62)
HSLhsl(56, 50%, 48%)
HSVhsv(56, 66%, 72%)
CMYKcmyk(0%, 4.9%, 66.3%, 27.8%)
CIE-LABlab(70.32, -10.39, 56.77)
CIE-LCHlch(70.32, 57.72, 100.37°)
OKLaboklab(74.05% -0.0337 0.1279)
OKLCHoklch(74.05% 0.132 104.8)
XYZxyz(35.9680, 41.1994, 10.6141)
Luminance0.4120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF3E #3E47B8
analogous
#B8723E #B8AF3E #84B83E
triadic
#B8AF3E #3EB8AF #AF3EB8
tetradic
#B8AF3E #3EB872 #3E47B8 #B83E84
square
#B8AF3E #3EB872 #3E47B8 #B83E84
split-complementary
#B8AF3E #3E84B8 #723EB8
monochromatic
#5C581F #8A832F #B8AF3E #CCC467 #DBD695

Accessibility & contrast

On white

2.27
#B8AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B8AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF3E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF3E#FFFFFF#000000##000000
##B8AF3E1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#C5A398
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af3e;
/* rgb */ color: rgb(184, 175, 62);
/* oklch */ color: oklch(74.1% 0.132 104.8);
Tailwind
colors: {
  custom: {
    50: '#d0c679',
    500: '#b8af3e',
    950: '#000000',
  },
}
SCSS
$custom: #b8af3e;
$custom-light: #d0c679;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af3e",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 55.574,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74053,
    "c": 0.13228,
    "h": 104.8
  },
  "luminance": 0.41198
}

Semantic roles & 50–950 ramp

primary
#B8AF3E
secondary
#8B8FC7
accent
#59D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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