#A79228#A79228

#A79228 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 66.0% C 0.123 H 97.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A79228
RGBrgb(167, 146, 40)
HSLhsl(50, 61%, 41%)
HSVhsv(50, 76%, 65%)
CMYKcmyk(0%, 12.6%, 76%, 34.5%)
CIE-LABlab(60.72, -3.63, 55.37)
CIE-LCHlch(60.72, 55.49, 93.75°)
OKLaboklab(66.02% -0.0159 0.1216)
OKLCHoklch(66.02% 0.123 97.5)
XYZxyz(26.5996, 28.9278, 6.1896)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79228 #283DA7
analogous
#A75228 #A79228 #7CA728
triadic
#A79228 #28A792 #9228A7
tetradic
#A79228 #28A752 #283DA7 #A7287C
square
#A79228 #28A752 #283DA7 #A7287C
split-complementary
#A79228 #287CA7 #5228A7
monochromatic
#443C10 #76671C #A79228 #D0B83C #DCCA6D

Accessibility & contrast

On white

3.09
#A79228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#A79228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79228
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79228#FFFFFF#000000##000000
##A792281.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E14
Deuteranopia (green-blind)
#A7952F
Tritanopia (blue-blind)
#B5877E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a79228;
/* rgb */ color: rgb(167, 146, 40);
/* oklch */ color: oklch(66.0% 0.123 97.5);
Tailwind
colors: {
  custom: {
    50: '#c5b16a',
    500: '#a79228',
    950: '#000000',
  },
}
SCSS
$custom: #a79228;
$custom-light: #c5b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a79228",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 50.079,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66016,
    "c": 0.12261,
    "h": 97.5
  },
  "luminance": 0.28926
}

Semantic roles & 50–950 ramp

primary
#A79228
secondary
#6877C3
accent
#5EE443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A79228

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

Preview Lab → · Contrast checker → · Palette generator →

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