#A5B229#A5B229

#A5B229 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.153 H 115.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#A5B229
RGBrgb(165, 178, 41)
HSLhsl(66, 63%, 43%)
HSVhsv(66, 77%, 70%)
CMYKcmyk(7.3%, 0%, 77%, 30.2%)
CIE-LABlab(69.47, -21.16, 63.11)
CIE-LCHlch(69.47, 66.56, 108.53°)
OKLaboklab(72.96% -0.0648 0.1383)
OKLCHoklch(72.96% 0.153 115.1)
XYZxyz(31.8386, 40.0008, 8.1411)
Luminance0.4000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B229 #3629B2
analogous
#B27A29 #A5B229 #61B229
triadic
#A5B229 #29A5B2 #B229A5
tetradic
#A5B229 #29B27A #3629B2 #B22961
square
#A5B229 #29B27A #3629B2 #B22961
split-complementary
#A5B229 #2961B2 #7A29B2
monochromatic
#494F12 #77801E #A5B229 #C6D444 #D5DF76

Accessibility & contrast

On white

2.33
#A5B229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#A5B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B229
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B229#FFFFFF#000000##000000
##A5B2291.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA901
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#B0A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b229;
/* rgb */ color: rgb(165, 178, 41);
/* oklch */ color: oklch(73.0% 0.153 115.1);
Tailwind
colors: {
  custom: {
    50: '#c3c86e',
    500: '#a5b229',
    950: '#000000',
  },
}
SCSS
$custom: #a5b229;
$custom-light: #c3c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b229",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 65.693,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72957,
    "c": 0.15269,
    "h": 115.1
  },
  "luminance": 0.4
}

Semantic roles & 50–950 ramp

primary
#A5B229
secondary
#7870C7
accent
#42E652
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B229

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

Preview Lab → · Contrast checker → · Palette generator →

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