#A7B22C#A7B22C

#A7B22C is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.150 H 114.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#A7B22C
RGBrgb(167, 178, 44)
HSLhsl(65, 60%, 44%)
HSVhsv(65, 75%, 70%)
CMYKcmyk(6.2%, 0%, 75.3%, 30.2%)
CIE-LABlab(69.64, -20.17, 62.35)
CIE-LCHlch(69.64, 65.54, 107.93°)
OKLaboklab(73.14% -0.0619 0.1371)
OKLCHoklch(73.14% 0.15 114.3)
XYZxyz(32.3123, 40.2388, 8.4471)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B22C #372CB2
analogous
#B27A2C #A7B22C #64B22C
triadic
#A7B22C #2CA7B2 #B22CA7
tetradic
#A7B22C #2CB27A #372CB2 #B22C64
square
#A7B22C #2CB27A #372CB2 #B22C64
split-complementary
#A7B22C #2C64B2 #7A2CB2
monochromatic
#4B5014 #798120 #A7B22C #C7D249 #D6DE7A

Accessibility & contrast

On white

2.32
#A7B22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#A7B22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B22C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B22C#FFFFFF#000000##000000
##A7B22C1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90C
Deuteranopia (green-blind)
#BFAB38
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b22c;
/* rgb */ color: rgb(167, 178, 44);
/* oklch */ color: oklch(73.1% 0.150 114.3);
Tailwind
colors: {
  custom: {
    50: '#c5c870',
    500: '#a7b22c',
    950: '#000000',
  },
}
SCSS
$custom: #a7b22c;
$custom-light: #c5c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b22c",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 64.925,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73136,
    "c": 0.15047,
    "h": 114.3
  },
  "luminance": 0.40238
}

Semantic roles & 50–950 ramp

primary
#A7B22C
secondary
#7A73C6
accent
#44E451
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B22C

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

Preview Lab → · Contrast checker → · Palette generator →

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