#A8A135#A8A135

#A8A135 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.127 H 105.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A8A135
RGBrgb(168, 161, 53)
HSLhsl(56, 52%, 43%)
HSVhsv(56, 68%, 66%)
CMYKcmyk(0%, 4.2%, 68.5%, 34.1%)
CIE-LABlab(65.02, -10.55, 54.59)
CIE-LCHlch(65.02, 55.60, 100.94°)
OKLaboklab(69.48% -0.0342 0.1223)
OKLCHoklch(69.48% 0.127 105.6)
XYZxyz(29.5371, 34.0727, 8.3883)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A135 #353CA8
analogous
#A86735 #A8A135 #75A835
triadic
#A8A135 #35A8A1 #A135A8
tetradic
#A8A135 #35A867 #353CA8 #A83575
square
#A8A135 #35A867 #353CA8 #A83575
split-complementary
#A8A135 #3575A8 #6735A8
monochromatic
#4B4818 #797426 #A8A135 #C8C152 #D7D280

Accessibility & contrast

On white

2.69
#A8A135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A8A135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A135
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A135#FFFFFF#000000##000000
##A8A1351.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B25
Deuteranopia (green-blind)
#B2A03C
Tritanopia (blue-blind)
#B4968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a135;
/* rgb */ color: rgb(168, 161, 53);
/* oklch */ color: oklch(69.5% 0.127 105.6);
Tailwind
colors: {
  custom: {
    50: '#c5bc73',
    500: '#a8a135',
    950: '#000000',
  },
}
SCSS
$custom: #a8a135;
$custom-light: #c5bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a135",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 56.348,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69482,
    "c": 0.12699,
    "h": 105.6
  },
  "luminance": 0.34072
}

Semantic roles & 50–950 ramp

primary
#A8A135
secondary
#787DC0
accent
#55DB4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A135

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

Preview Lab → · Contrast checker → · Palette generator →

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