#B8AF2E#B8AF2E

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

Color values

HEX#B8AF2E
RGBrgb(184, 175, 46)
HSLhsl(56, 60%, 45%)
HSVhsv(56, 75%, 72%)
CMYKcmyk(0%, 4.9%, 75%, 27.8%)
CIE-LABlab(70.21, -11.20, 62.72)
CIE-LCHlch(70.21, 63.71, 100.13°)
OKLaboklab(73.94% -0.0376 0.1377)
OKLCHoklch(73.94% 0.143 105.3)
XYZxyz(35.5918, 41.0489, 8.6327)
Luminance0.4105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF2E #2E37B8
analogous
#B86A2E #B8AF2E #7CB82E
triadic
#B8AF2E #2EB8AF #AF2EB8
tetradic
#B8AF2E #2EB86A #2E37B8 #B82E7C
square
#B8AF2E #2EB86A #2E37B8 #B82E7C
split-complementary
#B8AF2E #2E7CB8 #6A2EB8
monochromatic
#565216 #878022 #B8AF2E #D3CB50 #DFD981

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AF2E#FFFFFF#000000##000000
##B8AF2E1.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)
#BFA912
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#C6A396
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af2e;
/* rgb */ color: rgb(184, 175, 46);
/* oklch */ color: oklch(73.9% 0.143 105.3);
Tailwind
colors: {
  custom: {
    50: '#d1c671',
    500: '#b8af2e',
    950: '#000000',
  },
}
SCSS
$custom: #b8af2e;
$custom-light: #d1c671;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af2e",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 56.087,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73935,
    "c": 0.1427,
    "h": 105.3
  },
  "luminance": 0.41048
}

Semantic roles & 50–950 ramp

primary
#B8AF2E
secondary
#797FC8
accent
#4FE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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