#B7AE30#B7AE30

#B7AE30 is a light, vivid yellow. Relative luminance 0.406; 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#B7AE30
RGBrgb(183, 174, 48)
HSLhsl(56, 58%, 45%)
HSVhsv(56, 74%, 72%)
CMYKcmyk(0%, 4.9%, 73.8%, 28.2%)
CIE-LABlab(69.86, -11.03, 61.67)
CIE-LCHlch(69.86, 62.65, 100.14°)
OKLaboklab(73.64% -0.0369 0.1358)
OKLCHoklch(73.64% 0.141 105.2)
XYZxyz(35.1995, 40.5541, 8.7693)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE30 #3039B7
analogous
#B76A30 #B7AE30 #7CB730
triadic
#B7AE30 #30B7AE #AE30B7
tetradic
#B7AE30 #30B76A #3039B7 #B7307C
square
#B7AE30 #30B76A #3039B7 #B7307C
split-complementary
#B7AE30 #307CB7 #6A30B7
monochromatic
#565217 #878023 #B7AE30 #D2C952 #DED883

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AE30#FFFFFF#000000##000000
##B7AE301.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)
#BDA818
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#C5A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae30;
/* rgb */ color: rgb(183, 174, 48);
/* oklch */ color: oklch(73.6% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#d0c572',
    500: '#b7ae30',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae30;
$custom-light: #d0c572;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae30",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 48
  },
  "hsl": {
    "h": 56,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73641,
    "c": 0.14077,
    "h": 105.2
  },
  "luminance": 0.40553
}

Semantic roles & 50–950 ramp

primary
#B7AE30
secondary
#7B80C8
accent
#51E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AE30

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

Preview Lab → · Contrast checker → · Palette generator →

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