#A5B23E#A5B23E

#A5B23E is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.139 H 115.4°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A5B23E
RGBrgb(165, 178, 62)
HSLhsl(67, 48%, 47%)
HSVhsv(67, 65%, 70%)
CMYKcmyk(7.3%, 0%, 65.2%, 30.2%)
CIE-LABlab(69.60, -20.03, 55.55)
CIE-LCHlch(69.60, 59.06, 109.83°)
OKLaboklab(73.11% -0.0597 0.1259)
OKLCHoklch(73.11% 0.139 115.4)
XYZxyz(32.3077, 40.1884, 10.6117)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B23E #4B3EB2
analogous
#B2853E #A5B23E #6BB23E
triadic
#A5B23E #3EA5B2 #B23EA5
tetradic
#A5B23E #3EB285 #4B3EB2 #B23E6B
square
#A5B23E #3EB285 #4B3EB2 #B23E6B
split-complementary
#A5B23E #3E6BB2 #853EB2
monochromatic
#51571E #7B852E #A5B23E #BEC964 #D1D992

Accessibility & contrast

On white

2.32
#A5B23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A5B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B23E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B23E#FFFFFF#000000##000000
##A5B23E1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92E
Deuteranopia (green-blind)
#BDAB46
Tritanopia (blue-blind)
#AFA89A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b23e;
/* rgb */ color: rgb(165, 178, 62);
/* oklch */ color: oklch(73.1% 0.139 115.4);
Tailwind
colors: {
  custom: {
    50: '#c2c879',
    500: '#a5b23e',
    950: '#000000',
  },
}
SCSS
$custom: #a5b23e;
$custom-light: #c2c879;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b23e",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 66.724,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73107,
    "c": 0.1393,
    "h": 115.4
  },
  "luminance": 0.40188
}

Semantic roles & 50–950 ramp

primary
#A5B23E
secondary
#8F88C4
accent
#50D85F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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