#A5B339#A5B339

#A5B339 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.144 H 115.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#A5B339
RGBrgb(165, 179, 57)
HSLhsl(67, 52%, 46%)
HSVhsv(67, 68%, 70%)
CMYKcmyk(7.8%, 0%, 68.2%, 29.8%)
CIE-LABlab(69.85, -20.85, 57.81)
CIE-LCHlch(69.85, 61.46, 109.83°)
OKLaboklab(73.29% -0.0625 0.1298)
OKLCHoklch(73.29% 0.144 115.7)
XYZxyz(32.3765, 40.5354, 9.9887)
Luminance0.4053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B339 #4739B3
analogous
#B38439 #A5B339 #68B339
triadic
#A5B339 #39A5B3 #B339A5
tetradic
#A5B339 #39B384 #4739B3 #B33968
square
#A5B339 #39B384 #4739B3 #B33968
split-complementary
#A5B339 #3968B3 #8439B3
monochromatic
#4F561B #7A852A #A5B339 #BFCC5E #D1DA8C

Accessibility & contrast

On white

2.31
#A5B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#A5B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B339
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B339#FFFFFF#000000##000000
##A5B3391.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA27
Deuteranopia (green-blind)
#BEAC42
Tritanopia (blue-blind)
#AFA99B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b339;
/* rgb */ color: rgb(165, 179, 57);
/* oklch */ color: oklch(73.3% 0.144 115.7);
Tailwind
colors: {
  custom: {
    50: '#c3c977',
    500: '#a5b339',
    950: '#000000',
  },
}
SCSS
$custom: #a5b339;
$custom-light: #c3c977;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b339",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 66.885,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73292,
    "c": 0.14409,
    "h": 115.7
  },
  "luminance": 0.40535
}

Semantic roles & 50–950 ramp

primary
#A5B339
secondary
#8B83C5
accent
#4DDB5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B339

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

Preview Lab → · Contrast checker → · Palette generator →

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