#B7AE37#B7AE37

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

Color values

HEX#B7AE37
RGBrgb(183, 174, 55)
HSLhsl(56, 54%, 47%)
HSVhsv(56, 70%, 72%)
CMYKcmyk(0%, 4.9%, 69.9%, 28.2%)
CIE-LABlab(69.91, -10.69, 59.13)
CIE-LCHlch(69.91, 60.09, 100.25°)
OKLaboklab(73.69% -0.0352 0.1317)
OKLCHoklch(73.69% 0.136 105)
XYZxyz(35.3555, 40.6166, 9.5911)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE37 #3740B7
analogous
#B76E37 #B7AE37 #80B737
triadic
#B7AE37 #37B7AE #AE37B7
tetradic
#B7AE37 #37B76E #3740B7 #B73780
square
#B7AE37 #37B76E #3740B7 #B73780
split-complementary
#B7AE37 #3780B7 #6E37B7
monochromatic
#59551B #888129 #B7AE37 #CEC65D #DCD78C

Accessibility & contrast

On white

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

On black

9.12
#B7AE37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE37
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE37#FFFFFF#000000##000000
##B7AE371.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ae37;
/* rgb */ color: rgb(183, 174, 55);
/* oklch */ color: oklch(73.7% 0.136 105.0);
Tailwind
colors: {
  custom: {
    50: '#d0c575',
    500: '#b7ae37',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae37;
$custom-light: #d0c575;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae37",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 55.781,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7369,
    "c": 0.13636,
    "h": 105
  },
  "luminance": 0.40615
}

Semantic roles & 50–950 ramp

primary
#B7AE37
secondary
#8388C7
accent
#55DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AE37

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

Preview Lab → · Contrast checker → · Palette generator →

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