#B5AE34#B5AE34

#B5AE34 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.139 H 106.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#B5AE34
RGBrgb(181, 174, 52)
HSLhsl(57, 55%, 46%)
HSVhsv(57, 71%, 71%)
CMYKcmyk(0%, 3.9%, 71.3%, 29%)
CIE-LABlab(69.71, -11.72, 60.02)
CIE-LCHlch(69.71, 61.15, 101.05°)
OKLaboklab(73.49% -0.0383 0.1332)
OKLCHoklch(73.49% 0.139 106.1)
XYZxyz(34.8133, 40.3451, 9.2017)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE34 #343BB5
analogous
#B56D34 #B5AE34 #7BB534
triadic
#B5AE34 #34B5AE #AE34B5
tetradic
#B5AE34 #34B56D #343BB5 #B5347B
square
#B5AE34 #34B56D #343BB5 #B5347B
split-complementary
#B5AE34 #347BB5 #6D34B5
monochromatic
#565319 #858026 #B5AE34 #CFC857 #DCD887

Accessibility & contrast

On white

2.32
#B5AE34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#B5AE34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AE34
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AE34#FFFFFF#000000##000000
##B5AE341.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA81F
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae34;
/* rgb */ color: rgb(181, 174, 52);
/* oklch */ color: oklch(73.5% 0.139 106.1);
Tailwind
colors: {
  custom: {
    50: '#cfc574',
    500: '#b5ae34',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae34;
$custom-light: #cfc574;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae34",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 52
  },
  "hsl": {
    "h": 56.744,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7349,
    "c": 0.13855,
    "h": 106.1
  },
  "luminance": 0.40344
}

Semantic roles & 50–950 ramp

primary
#B5AE34
secondary
#7F82C6
accent
#51DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AE34

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

Preview Lab → · Contrast checker → · Palette generator →

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