#B7AE2E#B7AE2E

#B7AE2E is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.142 H 105.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#B7AE2E
RGBrgb(183, 174, 46)
HSLhsl(56, 60%, 45%)
HSVhsv(56, 75%, 72%)
CMYKcmyk(0%, 4.9%, 74.9%, 28.2%)
CIE-LABlab(69.85, -11.12, 62.35)
CIE-LCHlch(69.85, 63.34, 100.11°)
OKLaboklab(73.63% -0.0373 0.1369)
OKLCHoklch(73.63% 0.142 105.3)
XYZxyz(35.1591, 40.5380, 8.5568)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE2E #2E37B7
analogous
#B7692E #B7AE2E #7CB72E
triadic
#B7AE2E #2EB7AE #AE2EB7
tetradic
#B7AE2E #2EB769 #2E37B7 #B72E7C
square
#B7AE2E #2EB769 #2E37B7 #B72E7C
split-complementary
#B7AE2E #2E7CB7 #692EB7
monochromatic
#555115 #867F22 #B7AE2E #D3CA4F #DFD980

Accessibility & contrast

On white

2.31
#B7AE2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#B7AE2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE2E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE2E#FFFFFF#000000##000000
##B7AE2E1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA813
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#C5A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae2e;
/* rgb */ color: rgb(183, 174, 46);
/* oklch */ color: oklch(73.6% 0.142 105.3);
Tailwind
colors: {
  custom: {
    50: '#d0c571',
    500: '#b7ae2e',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae2e;
$custom-light: #d0c571;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae2e",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 46
  },
  "hsl": {
    "h": 56.058,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73629,
    "c": 0.14191,
    "h": 105.3
  },
  "luminance": 0.40537
}

Semantic roles & 50–950 ramp

primary
#B7AE2E
secondary
#797EC8
accent
#4FE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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