#A5B734#A5B734

#A5B734 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.2% C 0.152 H 117.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#A5B734
RGBrgb(165, 183, 52)
HSLhsl(68, 56%, 46%)
HSVhsv(68, 72%, 72%)
CMYKcmyk(9.8%, 0%, 71.6%, 28.2%)
CIE-LABlab(70.95, -23.11, 60.79)
CIE-LCHlch(70.95, 65.03, 110.81°)
OKLaboklab(74.17% -0.0692 0.1353)
OKLCHoklch(74.17% 0.152 117.1)
XYZxyz(33.0711, 42.1146, 9.6349)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B734 #4634B7
analogous
#B78734 #A5B734 #63B734
triadic
#A5B734 #34A5B7 #B734A5
tetradic
#A5B734 #34B787 #4634B7 #B73463
square
#A5B734 #34B787 #4634B7 #B73463
split-complementary
#A5B734 #3463B7 #8734B7
monochromatic
#4F5819 #7A8726 #A5B734 #BFD059 #D2DD88

Accessibility & contrast

On white

2.23
#A5B734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#A5B734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B734
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B734#FFFFFF#000000##000000
##A5B7341.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1C
Deuteranopia (green-blind)
#C2AE3F
Tritanopia (blue-blind)
#AFAD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b734;
/* rgb */ color: rgb(165, 183, 52);
/* oklch */ color: oklch(74.2% 0.152 117.1);
Tailwind
colors: {
  custom: {
    50: '#c3cc74',
    500: '#a5b734',
    950: '#000000',
  },
}
SCSS
$custom: #a5b734;
$custom-light: #c3cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b734",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 52
  },
  "hsl": {
    "h": 68.244,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74165,
    "c": 0.15197,
    "h": 117.1
  },
  "luminance": 0.42114
}

Semantic roles & 50–950 ramp

primary
#A5B734
secondary
#8980C7
accent
#49DF5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B734

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

Preview Lab → · Contrast checker → · Palette generator →

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