#B8AF2B#B8AF2B

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

Color values

HEX#B8AF2B
RGBrgb(184, 175, 43)
HSLhsl(56, 62%, 45%)
HSVhsv(56, 77%, 72%)
CMYKcmyk(0%, 4.9%, 76.6%, 27.8%)
CIE-LABlab(70.19, -11.33, 63.70)
CIE-LCHlch(70.19, 64.70, 100.08°)
OKLaboklab(73.92% -0.0382 0.1392)
OKLCHoklch(73.92% 0.144 105.4)
XYZxyz(35.5347, 41.0261, 8.3321)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF2B #2B34B8
analogous
#B8682B #B8AF2B #7BB82B
triadic
#B8AF2B #2BB8AF #AF2BB8
tetradic
#B8AF2B #2BB868 #2B34B8 #B82B7B
square
#B8AF2B #2BB868 #2B34B8 #B82B7B
split-complementary
#B8AF2B #2B7BB8 #682BB8
monochromatic
#555114 #86801F #B8AF2B #D5CC4B #E1DA7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AF2B#FFFFFF#000000##000000
##B8AF2B1.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)
#BFA90A
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#C6A396
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af2b;
/* rgb */ color: rgb(184, 175, 43);
/* oklch */ color: oklch(73.9% 0.144 105.4);
Tailwind
colors: {
  custom: {
    50: '#d1c66f',
    500: '#b8af2b',
    950: '#000000',
  },
}
SCSS
$custom: #b8af2b;
$custom-light: #d1c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af2b",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 56.17,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73918,
    "c": 0.14434,
    "h": 105.4
  },
  "luminance": 0.41025
}

Semantic roles & 50–950 ramp

primary
#B8AF2B
secondary
#767BC9
accent
#4DE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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