#A8A03F#A8A03F

#A8A03F is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.4% C 0.118 H 104.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A8A03F
RGBrgb(168, 160, 63)
HSLhsl(55, 45%, 45%)
HSVhsv(55, 63%, 66%)
CMYKcmyk(0%, 4.8%, 62.5%, 34.1%)
CIE-LABlab(64.82, -9.40, 50.12)
CIE-LCHlch(64.82, 50.99, 100.63°)
OKLaboklab(69.35% -0.0298 0.1144)
OKLCHoklch(69.35% 0.118 104.6)
XYZxyz(29.6175, 33.8264, 9.6707)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A03F #3F47A8
analogous
#A86C3F #A8A03F #7BA83F
triadic
#A8A03F #3FA8A0 #A03FA8
tetradic
#A8A03F #3FA86C #3F47A8 #A83F7B
square
#A8A03F #3FA86C #3F47A8 #A83F7B
split-complementary
#A8A03F #3F7BA8 #6C3FA8
monochromatic
#4F4B1E #7B762E #A8A03F #C4BC61 #D4CF8D

Accessibility & contrast

On white

2.70
#A8A03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A8A03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A03F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A03F#FFFFFF#000000##000000
##A8A03F1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B34
Deuteranopia (green-blind)
#B09F44
Tritanopia (blue-blind)
#B4968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a03f;
/* rgb */ color: rgb(168, 160, 63);
/* oklch */ color: oklch(69.4% 0.118 104.6);
Tailwind
colors: {
  custom: {
    50: '#c5bb78',
    500: '#a8a03f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a03f;
$custom-light: #c5bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a03f",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 63
  },
  "hsl": {
    "h": 55.429,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69353,
    "c": 0.11826,
    "h": 104.6
  },
  "luminance": 0.33825
}

Semantic roles & 50–950 ramp

primary
#A8A03F
secondary
#8488BF
accent
#5DD553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A8A03F

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

Preview Lab → · Contrast checker → · Palette generator →

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