#A7B317#A7B317

#A7B317 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.10:1 contrast (WCAG AA passes).

Color values

HEX#A7B317
RGBrgb(167, 179, 23)
HSLhsl(65, 77%, 40%)
HSVhsv(65, 87%, 70%)
CMYKcmyk(6.7%, 0%, 87.2%, 29.8%)
CIE-LABlab(69.84, -21.38, 68.13)
CIE-LCHlch(69.84, 71.40, 107.43°)
OKLaboklab(73.27% -0.0667 0.146)
OKLCHoklch(73.27% 0.16 114.6)
XYZxyz(32.2122, 40.5182, 6.9344)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B317 #2317B3
analogous
#B37117 #A7B317 #59B317
triadic
#A7B317 #17A7B3 #B317A7
tetradic
#A7B317 #17B371 #2317B3 #B31759
square
#A7B317 #17B371 #2317B3 #B31759
split-complementary
#A7B317 #1759B3 #7117B3
monochromatic
#424709 #747D10 #A7B317 #D4E324 #DFEA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B317#FFFFFF#000000##000000
##A7B3171.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)
#C1AA00
Deuteranopia (green-blind)
#C0AC2A
Tritanopia (blue-blind)
#B3A898
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b317;
/* rgb */ color: rgb(167, 179, 23);
/* oklch */ color: oklch(73.3% 0.160 114.6);
Tailwind
colors: {
  custom: {
    50: '#c5c968',
    500: '#a7b317',
    950: '#000000',
  },
}
SCSS
$custom: #a7b317;
$custom-light: #c5c968;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b317",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 64.615,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.73268,
    "c": 0.16048,
    "h": 114.6
  },
  "luminance": 0.40518
}

Semantic roles & 50–950 ramp

primary
#A7B317
secondary
#6158CD
accent
#34F443
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7B317

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

Preview Lab → · Contrast checker → · Palette generator →

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