#A7B41C#A7B41C

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

Color values

HEX#A7B41C
RGBrgb(167, 180, 28)
HSLhsl(65, 73%, 41%)
HSVhsv(65, 84%, 71%)
CMYKcmyk(7.2%, 0%, 84.4%, 29.4%)
CIE-LABlab(70.14, -21.75, 67.30)
CIE-LCHlch(70.14, 70.72, 107.91°)
OKLaboklab(73.51% -0.0674 0.1449)
OKLCHoklch(73.51% 0.16 115)
XYZxyz(32.4682, 40.9425, 7.2907)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B41C #291CB4
analogous
#B4751C #A7B41C #5BB41C
triadic
#A7B41C #1CA7B4 #B41CA7
tetradic
#A7B41C #1CB475 #291CB4 #B41C5B
square
#A7B41C #1CB475 #291CB4 #B41C5B
split-complementary
#A7B41C #1C5BB4 #751CB4
monochromatic
#454A0C #767F14 #A7B41C #D0DF2F #DCE764

Accessibility & contrast

On white

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

On black

9.19
#A7B41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B41C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B41C#FFFFFF#000000##000000
##A7B41C1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b41c;
/* rgb */ color: rgb(167, 180, 28);
/* oklch */ color: oklch(73.5% 0.160 115.0);
Tailwind
colors: {
  custom: {
    50: '#c5ca6a',
    500: '#a7b41c',
    950: '#000000',
  },
}
SCSS
$custom: #a7b41c;
$custom-light: #c5ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b41c",
  "rgb": {
    "r": 167,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 65.132,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73512,
    "c": 0.15985,
    "h": 115
  },
  "luminance": 0.40942
}

Semantic roles & 50–950 ramp

primary
#A7B41C
secondary
#6960CC
accent
#38F048
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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