#A8A03E#A8A03E

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

Color values

HEX#A8A03E
RGBrgb(168, 160, 62)
HSLhsl(55, 46%, 45%)
HSVhsv(55, 63%, 66%)
CMYKcmyk(0%, 4.8%, 63.1%, 34.1%)
CIE-LABlab(64.82, -9.47, 50.55)
CIE-LCHlch(64.82, 51.43, 100.61°)
OKLaboklab(69.34% -0.0301 0.1152)
OKLCHoklch(69.34% 0.119 104.6)
XYZxyz(29.5898, 33.8153, 9.5248)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A03E #3E46A8
analogous
#A86B3E #A8A03E #7BA83E
triadic
#A8A03E #3EA8A0 #A03EA8
tetradic
#A8A03E #3EA86B #3E46A8 #A83E7B
square
#A8A03E #3EA86B #3E46A8 #A83E7B
split-complementary
#A8A03E #3E7BA8 #6B3EA8
monochromatic
#4F4B1D #7B752E #A8A03E #C4BC5F #D5CF8C

Accessibility & contrast

On white

2.71
#A8A03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A8A03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A03E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A03E#FFFFFF#000000##000000
##A8A03E1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a03e;
/* rgb */ color: rgb(168, 160, 62);
/* oklch */ color: oklch(69.3% 0.119 104.6);
Tailwind
colors: {
  custom: {
    50: '#c5bb78',
    500: '#a8a03e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a03e;
$custom-light: #c5bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a03e",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 62
  },
  "hsl": {
    "h": 55.472,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69343,
    "c": 0.11909,
    "h": 104.6
  },
  "luminance": 0.33814
}

Semantic roles & 50–950 ramp

primary
#A8A03E
secondary
#8387BF
accent
#5CD652
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #A8A03E

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

Preview Lab → · Contrast checker → · Palette generator →

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