#A7B827#A7B827

#A7B827 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.5% C 0.160 H 116.5°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#A7B827
RGBrgb(167, 184, 39)
HSLhsl(67, 65%, 44%)
HSVhsv(67, 79%, 72%)
CMYKcmyk(9.2%, 0%, 78.8%, 27.8%)
CIE-LABlab(71.31, -23.36, 65.44)
CIE-LCHlch(71.31, 69.48, 109.64°)
OKLaboklab(74.47% -0.0711 0.1428)
OKLCHoklch(74.47% 0.16 116.5)
XYZxyz(33.4440, 42.6434, 8.3883)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B827 #3827B8
analogous
#B88027 #A7B827 #5FB827
triadic
#A7B827 #27A7B8 #B827A7
tetradic
#A7B827 #27B880 #3827B8 #B8275F
square
#A7B827 #27B880 #3827B8 #B8275F
split-complementary
#A7B827 #275FB8 #8027B8
monochromatic
#4B5312 #79861C #A7B827 #C6D845 #D6E277

Accessibility & contrast

On white

2.20
#A7B827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#A7B827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B827
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B827#FFFFFF#000000##000000
##A7B8271.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#B2AD9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b827;
/* rgb */ color: rgb(167, 184, 39);
/* oklch */ color: oklch(74.5% 0.160 116.5);
Tailwind
colors: {
  custom: {
    50: '#c5cd6e',
    500: '#a7b827',
    950: '#000000',
  },
}
SCSS
$custom: #a7b827;
$custom-light: #c5cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b827",
  "rgb": {
    "r": 167,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 67.034,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74471,
    "c": 0.15953,
    "h": 116.5
  },
  "luminance": 0.42643
}

Semantic roles & 50–950 ramp

primary
#A7B827
secondary
#7B71CA
accent
#40E854
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B827

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

Preview Lab → · Contrast checker → · Palette generator →

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