#A8A235#A8A235

#A8A235 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.128 H 106.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A8A235
RGBrgb(168, 162, 53)
HSLhsl(57, 52%, 43%)
HSVhsv(57, 68%, 66%)
CMYKcmyk(0%, 3.6%, 68.5%, 34.1%)
CIE-LABlab(65.30, -11.08, 54.87)
CIE-LCHlch(65.30, 55.98, 101.41°)
OKLaboklab(69.7% -0.0357 0.1229)
OKLCHoklch(69.7% 0.128 106.2)
XYZxyz(29.7125, 34.4236, 8.4468)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A235 #353BA8
analogous
#A86935 #A8A235 #74A835
triadic
#A8A235 #35A8A2 #A235A8
tetradic
#A8A235 #35A869 #353BA8 #A83574
square
#A8A235 #35A869 #353BA8 #A83574
split-complementary
#A8A235 #3574A8 #6935A8
monochromatic
#4B4818 #797526 #A8A235 #C8C252 #D7D380

Accessibility & contrast

On white

2.66
#A8A235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A8A235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A235
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A235#FFFFFF#000000##000000
##A8A2351.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C25
Deuteranopia (green-blind)
#B2A13C
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a235;
/* rgb */ color: rgb(168, 162, 53);
/* oklch */ color: oklch(69.7% 0.128 106.2);
Tailwind
colors: {
  custom: {
    50: '#c5bd73',
    500: '#a8a235',
    950: '#000000',
  },
}
SCSS
$custom: #a8a235;
$custom-light: #c5bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a235",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 56.87,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69703,
    "c": 0.12796,
    "h": 106.2
  },
  "luminance": 0.34423
}

Semantic roles & 50–950 ramp

primary
#A8A235
secondary
#787CC0
accent
#54DB4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A235

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

Preview Lab → · Contrast checker → · Palette generator →

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