#A7B417#A7B417

#A7B417 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.162 H 114.9°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A7B417
RGBrgb(167, 180, 23)
HSLhsl(65, 77%, 40%)
HSVhsv(65, 87%, 71%)
CMYKcmyk(7.2%, 0%, 87.2%, 29.4%)
CIE-LABlab(70.12, -21.88, 68.36)
CIE-LCHlch(70.12, 71.77, 107.75°)
OKLaboklab(73.5% -0.0681 0.1465)
OKLCHoklch(73.5% 0.162 114.9)
XYZxyz(32.4133, 40.9205, 7.0014)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B417 #2417B4
analogous
#B47217 #A7B417 #59B417
triadic
#A7B417 #17A7B4 #B417A7
tetradic
#A7B417 #17B472 #2417B4 #B41759
square
#A7B417 #17B472 #2417B4 #B41759
split-complementary
#A7B417 #1759B4 #7217B4
monochromatic
#424709 #757E10 #A7B417 #D3E325 #DEEA5B

Accessibility & contrast

On white

2.29
#A7B417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A7B417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B417
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B417#FFFFFF#000000##000000
##A7B4171.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AA00
Deuteranopia (green-blind)
#C1AD2A
Tritanopia (blue-blind)
#B3A999
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b417;
/* rgb */ color: rgb(167, 180, 23);
/* oklch */ color: oklch(73.5% 0.162 114.9);
Tailwind
colors: {
  custom: {
    50: '#c5ca68',
    500: '#a7b417',
    950: '#000000',
  },
}
SCSS
$custom: #a7b417;
$custom-light: #c5ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b417",
  "rgb": {
    "r": 167,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 64.968,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.73495,
    "c": 0.16151,
    "h": 114.9
  },
  "luminance": 0.4092
}

Semantic roles & 50–950 ramp

primary
#A7B417
secondary
#6359CE
accent
#34F444
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7B417

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

Preview Lab → · Contrast checker → · Palette generator →

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