#B8AF2C#B8AF2C

#B8AF2C is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.9% C 0.144 H 105.3°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#B8AF2C
RGBrgb(184, 175, 44)
HSLhsl(56, 61%, 45%)
HSVhsv(56, 76%, 72%)
CMYKcmyk(0%, 4.9%, 76.1%, 27.8%)
CIE-LABlab(70.20, -11.29, 63.38)
CIE-LCHlch(70.20, 64.38, 100.10°)
OKLaboklab(73.92% -0.038 0.1387)
OKLCHoklch(73.92% 0.144 105.3)
XYZxyz(35.5533, 41.0335, 8.4299)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF2C #2C35B8
analogous
#B8692C #B8AF2C #7BB82C
triadic
#B8AF2C #2CB8AF #AF2CB8
tetradic
#B8AF2C #2CB869 #2C35B8 #B82C7B
square
#B8AF2C #2CB869 #2C35B8 #B82C7B
split-complementary
#B8AF2C #2C7BB8 #692CB8
monochromatic
#555114 #878020 #B8AF2C #D4CC4D #E0DA7E

Accessibility & contrast

On white

2.28
#B8AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#B8AF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF2C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF2C#FFFFFF#000000##000000
##B8AF2C1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90D
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#C6A396
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af2c;
/* rgb */ color: rgb(184, 175, 44);
/* oklch */ color: oklch(73.9% 0.144 105.3);
Tailwind
colors: {
  custom: {
    50: '#d1c670',
    500: '#b8af2c',
    950: '#000000',
  },
}
SCSS
$custom: #b8af2c;
$custom-light: #d1c670;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af2c",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 56.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73923,
    "c": 0.1438,
    "h": 105.3
  },
  "luminance": 0.41032
}

Semantic roles & 50–950 ramp

primary
#B8AF2C
secondary
#777CC9
accent
#4EE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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