#A5A833#A5A833

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

Color values

HEX#A5A833
RGBrgb(165, 168, 51)
HSLhsl(62, 53%, 43%)
HSVhsv(62, 70%, 66%)
CMYKcmyk(1.8%, 0%, 69.6%, 34.1%)
CIE-LABlab(66.71, -15.61, 56.98)
CIE-LCHlch(66.71, 59.08, 105.32°)
OKLaboklab(70.76% -0.0484 0.1271)
OKLCHoklch(70.76% 0.136 110.9)
XYZxyz(30.1182, 36.2444, 8.5407)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A833 #3633A8
analogous
#A87033 #A5A833 #6BA833
triadic
#A5A833 #33A5A8 #A833A5
tetradic
#A5A833 #33A870 #3633A8 #A8336B
square
#A5A833 #33A870 #3633A8 #A8336B
split-complementary
#A5A833 #336BA8 #7033A8
monochromatic
#494A16 #777925 #A5A833 #C6C94F #D5D87E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A833#FFFFFF#000000##000000
##A5A8331.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)
#B5A120
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#B09E91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a833;
/* rgb */ color: rgb(165, 168, 51);
/* oklch */ color: oklch(70.8% 0.136 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c172',
    500: '#a5a833',
    950: '#000000',
  },
}
SCSS
$custom: #a5a833;
$custom-light: #c3c172;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a833",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 61.538,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70762,
    "c": 0.13602,
    "h": 110.9
  },
  "luminance": 0.36244
}

Semantic roles & 50–950 ramp

primary
#A5A833
secondary
#7876C1
accent
#4BDD4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A833

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

Preview Lab → · Contrast checker → · Palette generator →

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