#A8A723#A8A723

#A8A723 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.144 H 109.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A8A723
RGBrgb(168, 167, 35)
HSLhsl(60, 66%, 40%)
HSVhsv(60, 79%, 66%)
CMYKcmyk(0%, 0.6%, 79.2%, 34.1%)
CIE-LABlab(66.58, -14.51, 62.42)
CIE-LCHlch(66.58, 64.08, 103.09°)
OKLaboklab(70.7% -0.047 0.1356)
OKLCHoklch(70.7% 0.144 109.1)
XYZxyz(30.2717, 36.0846, 6.9602)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A723 #2324A8
analogous
#A86523 #A8A723 #66A823
triadic
#A8A723 #23A8A7 #A723A8
tetradic
#A8A723 #23A865 #2324A8 #A82366
square
#A8A723 #23A865 #2324A8 #A82366
split-complementary
#A8A723 #2366A8 #6523A8
monochromatic
#43420E #757518 #A8A723 #D5D334 #DFDE66

Accessibility & contrast

On white

2.56
#A8A723 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#A8A723 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A723
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A723#FFFFFF#000000##000000
##A8A7231.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B7A42F
Tritanopia (blue-blind)
#B49C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a723;
/* rgb */ color: rgb(168, 167, 35);
/* oklch */ color: oklch(70.7% 0.144 109.1);
Tailwind
colors: {
  custom: {
    50: '#c6c06a',
    500: '#a8a723',
    950: '#000000',
  },
}
SCSS
$custom: #a8a723;
$custom-light: #c6c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a723",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 35
  },
  "hsl": {
    "h": 59.549,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70696,
    "c": 0.14351,
    "h": 109.1
  },
  "luminance": 0.36084
}

Semantic roles & 50–950 ramp

primary
#A8A723
secondary
#6263C5
accent
#41E83F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A723

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

Preview Lab → · Contrast checker → · Palette generator →

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