#A5A235#A5A235

#A5A235 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.128 H 107.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A5A235
RGBrgb(165, 162, 53)
HSLhsl(58, 51%, 43%)
HSVhsv(58, 68%, 65%)
CMYKcmyk(0%, 1.8%, 67.9%, 35.3%)
CIE-LABlab(65.04, -12.39, 54.53)
CIE-LCHlch(65.04, 55.92, 102.80°)
OKLaboklab(69.44% -0.0392 0.1223)
OKLCHoklch(69.44% 0.128 107.8)
XYZxyz(29.0810, 34.0980, 8.4172)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A235 #3538A5
analogous
#A56A35 #A5A235 #70A535
triadic
#A5A235 #35A5A2 #A235A5
tetradic
#A5A235 #35A56A #3538A5 #A53570
square
#A5A235 #35A56A #3538A5 #A53570
split-complementary
#A5A235 #3570A5 #6A35A5
monochromatic
#484717 #777526 #A5A235 #C7C450 #D6D37F

Accessibility & contrast

On white

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

On black

7.82
#A5A235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A235
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A235#FFFFFF#000000##000000
##A5A2351.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C25
Deuteranopia (green-blind)
#B1A03C
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a235;
/* rgb */ color: rgb(165, 162, 53);
/* oklch */ color: oklch(69.4% 0.128 107.8);
Tailwind
colors: {
  custom: {
    50: '#c3bd73',
    500: '#a5a235',
    950: '#000000',
  },
}
SCSS
$custom: #a5a235;
$custom-light: #c3bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a235",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 58.393,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69436,
    "c": 0.12839,
    "h": 107.8
  },
  "luminance": 0.34097
}

Semantic roles & 50–950 ramp

primary
#A5A235
secondary
#7779BF
accent
#51DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A235

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

Preview Lab → · Contrast checker → · Palette generator →

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