#A5A233#A5A233

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

Color values

HEX#A5A233
RGBrgb(165, 162, 51)
HSLhsl(58, 53%, 42%)
HSVhsv(58, 69%, 65%)
CMYKcmyk(0%, 1.8%, 69.1%, 35.3%)
CIE-LABlab(65.03, -12.50, 55.31)
CIE-LCHlch(65.03, 56.71, 102.74°)
OKLaboklab(69.42% -0.0397 0.1236)
OKLCHoklch(69.42% 0.13 107.8)
XYZxyz(29.0360, 34.0799, 8.1799)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A233 #3336A5
analogous
#A56933 #A5A233 #6FA533
triadic
#A5A233 #33A5A2 #A233A5
tetradic
#A5A233 #33A569 #3336A5 #A5336F
square
#A5A233 #33A569 #3336A5 #A5336F
split-complementary
#A5A233 #336FA5 #6933A5
monochromatic
#484616 #767425 #A5A233 #C8C54D #D6D47C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A233#FFFFFF#000000##000000
##A5A2331.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)
#AF9C22
Deuteranopia (green-blind)
#B1A03B
Tritanopia (blue-blind)
#B1978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a233;
/* rgb */ color: rgb(165, 162, 51);
/* oklch */ color: oklch(69.4% 0.130 107.8);
Tailwind
colors: {
  custom: {
    50: '#c3bd72',
    500: '#a5a233',
    950: '#000000',
  },
}
SCSS
$custom: #a5a233;
$custom-light: #c3bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a233",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 58.421,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6942,
    "c": 0.1298,
    "h": 107.8
  },
  "luminance": 0.34079
}

Semantic roles & 50–950 ramp

primary
#A5A233
secondary
#7577BF
accent
#4FDC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A233

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

Preview Lab → · Contrast checker → · Palette generator →

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