#A8A738#A8A738

#A8A738 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.131 H 108.8°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#A8A738
RGBrgb(168, 167, 56)
HSLhsl(59, 50%, 44%)
HSVhsv(59, 67%, 66%)
CMYKcmyk(0%, 0.6%, 66.7%, 34.1%)
CIE-LABlab(66.71, -13.51, 55.09)
CIE-LCHlch(66.71, 56.73, 103.78°)
OKLaboklab(70.84% -0.0422 0.1239)
OKLCHoklch(70.84% 0.131 108.8)
XYZxyz(30.6820, 36.2487, 9.1211)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A738 #3839A8
analogous
#A86F38 #A8A738 #71A838
triadic
#A8A738 #38A8A7 #A738A8
tetradic
#A8A738 #38A86F #3839A8 #A83871
square
#A8A738 #38A86F #3839A8 #A83871
split-complementary
#A8A738 #3871A8 #6F38A8
monochromatic
#4C4C19 #7A7929 #A8A738 #C7C656 #D6D584

Accessibility & contrast

On white

2.55
#A8A738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#A8A738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A738
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A738#FFFFFF#000000##000000
##A8A7381.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A028
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#B49D91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a738;
/* rgb */ color: rgb(168, 167, 56);
/* oklch */ color: oklch(70.8% 0.131 108.8);
Tailwind
colors: {
  custom: {
    50: '#c5c075',
    500: '#a8a738',
    950: '#000000',
  },
}
SCSS
$custom: #a8a738;
$custom-light: #c5c075;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a738",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 59.464,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70836,
    "c": 0.13085,
    "h": 108.8
  },
  "luminance": 0.36248
}

Semantic roles & 50–950 ramp

primary
#A8A738
secondary
#7C7DC0
accent
#50DA4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A738

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

Preview Lab → · Contrast checker → · Palette generator →

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