#A8A938#A8A938

#A8A938 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.3% C 0.133 H 109.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A8A938
RGBrgb(168, 169, 56)
HSLhsl(61, 50%, 44%)
HSVhsv(61, 67%, 66%)
CMYKcmyk(0.6%, 0%, 66.9%, 33.7%)
CIE-LABlab(67.27, -14.55, 55.66)
CIE-LCHlch(67.27, 57.53, 104.65°)
OKLaboklab(71.28% -0.0451 0.1251)
OKLCHoklch(71.28% 0.133 109.8)
XYZxyz(31.0512, 36.9871, 9.2442)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A938 #3938A9
analogous
#A97238 #A8A938 #70A938
triadic
#A8A938 #38A8A9 #A938A8
tetradic
#A8A938 #38A972 #3938A9 #A93870
square
#A8A938 #38A972 #3938A9 #A93870
split-complementary
#A8A938 #3870A9 #7238A9
monochromatic
#4D4D1A #7A7B29 #A8A938 #C6C757 #D6D785

Accessibility & contrast

On white

2.50
#A8A938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A8A938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A938
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A938#FFFFFF#000000##000000
##A8A9381.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#B49F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a938;
/* rgb */ color: rgb(168, 169, 56);
/* oklch */ color: oklch(71.3% 0.133 109.8);
Tailwind
colors: {
  custom: {
    50: '#c5c275',
    500: '#a8a938',
    950: '#000000',
  },
}
SCSS
$custom: #a8a938;
$custom-light: #c5c275;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a938",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 60.531,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71281,
    "c": 0.13295,
    "h": 109.8
  },
  "luminance": 0.36986
}

Semantic roles & 50–950 ramp

primary
#A8A938
secondary
#7D7CC0
accent
#4EDA4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A938

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

Preview Lab → · Contrast checker → · Palette generator →

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