#A7B319#A7B319

#A7B319 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.160 H 114.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#A7B319
RGBrgb(167, 179, 25)
HSLhsl(65, 75%, 40%)
HSVhsv(65, 86%, 70%)
CMYKcmyk(6.7%, 0%, 86%, 29.8%)
CIE-LABlab(69.84, -21.33, 67.72)
CIE-LCHlch(69.84, 71.00, 107.49°)
OKLaboklab(73.27% -0.0665 0.1454)
OKLCHoklch(73.27% 0.16 114.6)
XYZxyz(32.2330, 40.5265, 7.0439)
Luminance0.4053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B319 #2519B3
analogous
#B37219 #A7B319 #5AB319
triadic
#A7B319 #19A7B3 #B319A7
tetradic
#A7B319 #19B372 #2519B3 #B3195A
square
#A7B319 #19B372 #2519B3 #B3195A
split-complementary
#A7B319 #195AB3 #7219B3
monochromatic
#43480A #757D12 #A7B319 #D3E128 #DEE85E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B319#FFFFFF#000000##000000
##A7B3191.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)
#C1AA00
Deuteranopia (green-blind)
#C0AC2B
Tritanopia (blue-blind)
#B3A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b319;
/* rgb */ color: rgb(167, 179, 25);
/* oklch */ color: oklch(73.3% 0.160 114.6);
Tailwind
colors: {
  custom: {
    50: '#c5c969',
    500: '#a7b319',
    950: '#000000',
  },
}
SCSS
$custom: #a7b319;
$custom-light: #c5c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b319",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 25
  },
  "hsl": {
    "h": 64.675,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.73274,
    "c": 0.15984,
    "h": 114.6
  },
  "luminance": 0.40526
}

Semantic roles & 50–950 ramp

primary
#A7B319
secondary
#645BCC
accent
#36F244
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7B319

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

Preview Lab → · Contrast checker → · Palette generator →

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