#B8AF74#B8AF74

#B8AF74 is a light, moderate yellow. Relative luminance 0.421; OKLCH L 74.8% C 0.079 H 100.6°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B8AF74
RGBrgb(184, 175, 116)
HSLhsl(52, 32%, 59%)
HSVhsv(52, 37%, 72%)
CMYKcmyk(0%, 4.9%, 37%, 27.8%)
CIE-LABlab(70.95, -5.63, 31.44)
CIE-LCHlch(70.95, 31.94, 100.15°)
OKLaboklab(74.76% -0.0145 0.0775)
OKLCHoklch(74.76% 0.079 100.6)
XYZxyz(38.2501, 42.1123, 22.6332)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF74 #747DB8
analogous
#B88D74 #B8AF74 #9FB874
triadic
#B8AF74 #74B8AF #AF74B8
tetradic
#B8AF74 #74B88D #747DB8 #B8749F
square
#B8AF74 #74B88D #747DB8 #B8749F
split-complementary
#B8AF74 #749FB8 #8D74B8
monochromatic
#766E3C #9E9451 #B8AF74 #CDC69D #E1DEC5

Accessibility & contrast

On white

2.23
#B8AF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#B8AF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF74
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF74#FFFFFF#000000##000000
##B8AF741.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB70
Deuteranopia (green-blind)
#BCAF76
Tritanopia (blue-blind)
#C2A7A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8af74;
/* rgb */ color: rgb(184, 175, 116);
/* oklch */ color: oklch(74.8% 0.079 100.6);
Tailwind
colors: {
  custom: {
    50: '#cec69c',
    500: '#b8af74',
    950: '#000000',
  },
}
SCSS
$custom: #b8af74;
$custom-light: #cec69c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af74",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 116
  },
  "hsl": {
    "h": 52.059,
    "s": 32.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.7476,
    "c": 0.07885,
    "h": 100.6
  },
  "luminance": 0.42111
}

Semantic roles & 50–950 ramp

primary
#B8AF74
secondary
#B7BAD1
accent
#6DC95F
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B8AF74

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

Preview Lab → · Contrast checker → · Palette generator →

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