#B7AE2F#B7AE2F

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

Color values

HEX#B7AE2F
RGBrgb(183, 174, 47)
HSLhsl(56, 59%, 45%)
HSVhsv(56, 74%, 72%)
CMYKcmyk(0%, 4.9%, 74.3%, 28.2%)
CIE-LABlab(69.86, -11.08, 62.01)
CIE-LCHlch(69.86, 62.99, 100.13°)
OKLaboklab(73.63% -0.0371 0.1364)
OKLCHoklch(73.63% 0.141 105.2)
XYZxyz(35.1791, 40.5460, 8.6619)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE2F #2F38B7
analogous
#B76A2F #B7AE2F #7CB72F
triadic
#B7AE2F #2FB7AE #AE2FB7
tetradic
#B7AE2F #2FB76A #2F38B7 #B72F7C
square
#B7AE2F #2FB76A #2F38B7 #B72F7C
split-complementary
#B7AE2F #2F7CB7 #6A2FB7
monochromatic
#565116 #868022 #B7AE2F #D2CA51 #DFD982

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AE2F#FFFFFF#000000##000000
##B7AE2F1.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)
#BDA815
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#C5A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae2f;
/* rgb */ color: rgb(183, 174, 47);
/* oklch */ color: oklch(73.6% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#d0c571',
    500: '#b7ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae2f;
$custom-light: #d0c571;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae2f",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 56.029,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73635,
    "c": 0.14134,
    "h": 105.2
  },
  "luminance": 0.40545
}

Semantic roles & 50–950 ramp

primary
#B7AE2F
secondary
#7A7FC8
accent
#50E245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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