#A5B33E#A5B33E

#A5B33E is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.140 H 115.8°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#A5B33E
RGBrgb(165, 179, 62)
HSLhsl(67, 49%, 47%)
HSVhsv(67, 65%, 70%)
CMYKcmyk(7.8%, 0%, 65.4%, 29.8%)
CIE-LABlab(69.89, -20.53, 55.85)
CIE-LCHlch(69.89, 59.50, 110.19°)
OKLaboklab(73.33% -0.0611 0.1265)
OKLCHoklch(73.33% 0.14 115.8)
XYZxyz(32.5074, 40.5878, 10.6783)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B33E #4C3EB3
analogous
#B3863E #A5B33E #6BB33E
triadic
#A5B33E #3EA5B3 #B33EA5
tetradic
#A5B33E #3EB386 #4C3EB3 #B33E6B
square
#A5B33E #3EB386 #4C3EB3 #B33E6B
split-complementary
#A5B33E #3E6BB3 #863EB3
monochromatic
#51581F #7B862E #A5B33E #BDCA65 #D1D992

Accessibility & contrast

On white

2.30
#A5B33E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#A5B33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B33E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B33E#FFFFFF#000000##000000
##A5B33E1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b33e;
/* rgb */ color: rgb(165, 179, 62);
/* oklch */ color: oklch(73.3% 0.140 115.8);
Tailwind
colors: {
  custom: {
    50: '#c2c979',
    500: '#a5b33e',
    950: '#000000',
  },
}
SCSS
$custom: #a5b33e;
$custom-light: #c2c979;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b33e",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 62
  },
  "hsl": {
    "h": 67.179,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73333,
    "c": 0.14047,
    "h": 115.8
  },
  "luminance": 0.40587
}

Semantic roles & 50–950 ramp

primary
#A5B33E
secondary
#8F88C5
accent
#50D860
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B33E

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

Preview Lab → · Contrast checker → · Palette generator →

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