#B7A02E#B7A02E

#B7A02E is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.130 H 97.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B7A02E
RGBrgb(183, 160, 46)
HSLhsl(50, 60%, 45%)
HSVhsv(50, 75%, 72%)
CMYKcmyk(0%, 12.6%, 74.9%, 28.2%)
CIE-LABlab(66.06, -3.75, 58.78)
CIE-LCHlch(66.06, 58.90, 93.65°)
OKLaboklab(70.62% -0.0165 0.1293)
OKLCHoklch(70.62% 0.13 97.3)
XYZxyz(32.5940, 35.4079, 7.7018)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A02E #2E45B7
analogous
#B75C2E #B7A02E #8AB72E
triadic
#B7A02E #2EB7A0 #A02EB7
tetradic
#B7A02E #2EB75C #2E45B7 #B72E8A
square
#B7A02E #2EB75C #2E45B7 #B72E8A
split-complementary
#B7A02E #2E8AB7 #5C2EB7
monochromatic
#554A15 #867522 #B7A02E #D3BD4F #DFCF80

Accessibility & contrast

On white

2.60
#B7A02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B7A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A02E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A02E#FFFFFF#000000##000000
##B7A02E1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#B6A435
Tritanopia (blue-blind)
#C6948A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a02e;
/* rgb */ color: rgb(183, 160, 46);
/* oklch */ color: oklch(70.6% 0.130 97.3);
Tailwind
colors: {
  custom: {
    50: '#d0bb6f',
    500: '#b7a02e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a02e;
$custom-light: #d0bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a02e",
  "rgb": {
    "r": 183,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 49.927,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70622,
    "c": 0.13037,
    "h": 97.3
  },
  "luminance": 0.35406
}

Semantic roles & 50–950 ramp

primary
#B7A02E
secondary
#7986C8
accent
#5FE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B7A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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