#B7AE38#B7AE38

#B7AE38 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.136 H 104.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#B7AE38
RGBrgb(183, 174, 56)
HSLhsl(56, 53%, 47%)
HSVhsv(56, 69%, 72%)
CMYKcmyk(0%, 4.9%, 69.4%, 28.2%)
CIE-LABlab(69.91, -10.64, 58.75)
CIE-LCHlch(69.91, 59.70, 100.27°)
OKLaboklab(73.7% -0.035 0.1311)
OKLCHoklch(73.7% 0.136 104.9)
XYZxyz(35.3797, 40.6262, 9.7186)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE38 #3841B7
analogous
#B76F38 #B7AE38 #81B738
triadic
#B7AE38 #38B7AE #AE38B7
tetradic
#B7AE38 #38B76F #3841B7 #B73881
square
#B7AE38 #38B76F #3841B7 #B73881
split-complementary
#B7AE38 #3881B7 #6F38B7
monochromatic
#59551B #88812A #B7AE38 #CEC65E #DCD78D

Accessibility & contrast

On white

2.30
#B7AE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#B7AE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE38
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE38#FFFFFF#000000##000000
##B7AE381.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#C4A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae38;
/* rgb */ color: rgb(183, 174, 56);
/* oklch */ color: oklch(73.7% 0.136 104.9);
Tailwind
colors: {
  custom: {
    50: '#d0c576',
    500: '#b7ae38',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae38;
$custom-light: #d0c576;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae38",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 55.748,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73698,
    "c": 0.13569,
    "h": 104.9
  },
  "luminance": 0.40625
}

Semantic roles & 50–950 ramp

primary
#B7AE38
secondary
#8489C7
accent
#56DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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