#A8A23F#A8A23F

#A8A23F is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.8% C 0.120 H 105.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A8A23F
RGBrgb(168, 162, 63)
HSLhsl(57, 45%, 45%)
HSVhsv(57, 63%, 66%)
CMYKcmyk(0%, 3.6%, 62.5%, 34.1%)
CIE-LABlab(65.38, -10.46, 50.72)
CIE-LCHlch(65.38, 51.78, 101.65°)
OKLaboklab(69.79% -0.0328 0.1157)
OKLCHoklch(69.79% 0.12 105.8)
XYZxyz(29.9670, 34.5254, 9.7872)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A23F #3F45A8
analogous
#A86D3F #A8A23F #7AA83F
triadic
#A8A23F #3FA8A2 #A23FA8
tetradic
#A8A23F #3FA86D #3F45A8 #A83F7A
square
#A8A23F #3FA86D #3F45A8 #A83F7A
split-complementary
#A8A23F #3F7AA8 #6D3FA8
monochromatic
#4F4C1E #7B772E #A8A23F #C4BE61 #D4D08D

Accessibility & contrast

On white

2.66
#A8A23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A8A23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A23F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A23F#FFFFFF#000000##000000
##A8A23F1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C33
Deuteranopia (green-blind)
#B2A145
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a23f;
/* rgb */ color: rgb(168, 162, 63);
/* oklch */ color: oklch(69.8% 0.120 105.8);
Tailwind
colors: {
  custom: {
    50: '#c5bd79',
    500: '#a8a23f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a23f;
$custom-light: #c5bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a23f",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 56.571,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69793,
    "c": 0.12026,
    "h": 105.8
  },
  "luminance": 0.34524
}

Semantic roles & 50–950 ramp

primary
#A8A23F
secondary
#8487BF
accent
#5AD553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A23F

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

Preview Lab → · Contrast checker → · Palette generator →

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