#B7AE2C#B7AE2C

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

Color values

HEX#B7AE2C
RGBrgb(183, 174, 44)
HSLhsl(56, 61%, 45%)
HSVhsv(56, 76%, 72%)
CMYKcmyk(0%, 4.9%, 76%, 28.2%)
CIE-LABlab(69.84, -11.21, 63.02)
CIE-LCHlch(69.84, 64.00, 100.08°)
OKLaboklab(73.62% -0.0378 0.138)
OKLCHoklch(73.62% 0.143 105.3)
XYZxyz(35.1206, 40.5226, 8.3541)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE2C #2C35B7
analogous
#B7692C #B7AE2C #7BB72C
triadic
#B7AE2C #2CB7AE #AE2CB7
tetradic
#B7AE2C #2CB769 #2C35B7 #B72C7B
square
#B7AE2C #2CB769 #2C35B7 #B72C7B
split-complementary
#B7AE2C #2C7BB7 #692CB7
monochromatic
#545014 #867F20 #B7AE2C #D4CB4C #E0DA7E

Accessibility & contrast

On white

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

On black

9.10
#B7AE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE2C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE2C#FFFFFF#000000##000000
##B7AE2C1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA80E
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#C5A295
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae2c;
/* rgb */ color: rgb(183, 174, 44);
/* oklch */ color: oklch(73.6% 0.143 105.3);
Tailwind
colors: {
  custom: {
    50: '#d0c570',
    500: '#b7ae2c',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae2c;
$custom-light: #d0c570;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae2c",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 56.115,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73616,
    "c": 0.14302,
    "h": 105.3
  },
  "luminance": 0.40521
}

Semantic roles & 50–950 ramp

primary
#B7AE2C
secondary
#767CC8
accent
#4EE443
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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