#A5AC3D#A5AC3D

#A5AC3D is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.7% C 0.133 H 112.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#A5AC3D
RGBrgb(165, 172, 61)
HSLhsl(64, 48%, 46%)
HSVhsv(64, 65%, 67%)
CMYKcmyk(4.1%, 0%, 64.5%, 32.5%)
CIE-LABlab(67.90, -17.06, 54.19)
CIE-LCHlch(67.90, 56.81, 107.48°)
OKLaboklab(71.74% -0.0515 0.1228)
OKLCHoklch(71.74% 0.133 112.7)
XYZxyz(31.1127, 37.8420, 10.0792)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC3D #443DAC
analogous
#AC7B3D #A5AC3D #6DAC3D
triadic
#A5AC3D #3DA5AC #AC3DA5
tetradic
#A5AC3D #3DAC7B #443DAC #AC3D6D
square
#A5AC3D #3DAC7B #443DAC #AC3D6D
split-complementary
#A5AC3D #3D6DAC #7B3DAC
monochromatic
#4E521D #7A7F2D #A5AC3D #C0C760 #D2D78D

Accessibility & contrast

On white

2.45
#A5AC3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#A5AC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AC3D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AC3D#FFFFFF#000000##000000
##A5AC3D1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42E
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#B0A295
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ac3d;
/* rgb */ color: rgb(165, 172, 61);
/* oklch */ color: oklch(71.7% 0.133 112.7);
Tailwind
colors: {
  custom: {
    50: '#c2c478',
    500: '#a5ac3d',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac3d;
$custom-light: #c2c478;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac3d",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 63.784,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71743,
    "c": 0.13319,
    "h": 112.7
  },
  "luminance": 0.37841
}

Semantic roles & 50–950 ramp

primary
#A5AC3D
secondary
#8784C1
accent
#51D759
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A5AC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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