#B5AA2E#B5AA2E

#B5AA2E is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.139 H 104.1°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B5AA2E
RGBrgb(181, 170, 46)
HSLhsl(55, 59%, 45%)
HSVhsv(55, 75%, 71%)
CMYKcmyk(0%, 6.1%, 74.6%, 29%)
CIE-LABlab(68.59, -9.92, 61.10)
CIE-LCHlch(68.59, 61.90, 99.22°)
OKLaboklab(72.58% -0.0338 0.1343)
OKLCHoklch(72.58% 0.139 104.1)
XYZxyz(33.9254, 38.7718, 8.2809)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA2E #2E39B5
analogous
#B5672E #B5AA2E #7DB52E
triadic
#B5AA2E #2EB5AA #AA2EB5
tetradic
#B5AA2E #2EB567 #2E39B5 #B52E7D
square
#B5AA2E #2EB567 #2E39B5 #B52E7D
split-complementary
#B5AA2E #2E7DB5 #672EB5
monochromatic
#534E15 #847C22 #B5AA2E #D2C74E #DED77F

Accessibility & contrast

On white

2.40
#B5AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B5AA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA2E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA2E#FFFFFF#000000##000000
##B5AA2E1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A415
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#C39E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5aa2e;
/* rgb */ color: rgb(181, 170, 46);
/* oklch */ color: oklch(72.6% 0.139 104.1);
Tailwind
colors: {
  custom: {
    50: '#cfc270',
    500: '#b5aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa2e;
$custom-light: #cfc270;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa2e",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 55.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72579,
    "c": 0.13854,
    "h": 104.1
  },
  "luminance": 0.3877
}

Semantic roles & 50–950 ramp

primary
#B5AA2E
secondary
#787EC7
accent
#52E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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