#A5B168#A5B168

#A5B168 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.4% C 0.098 H 116.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A5B168
RGBrgb(165, 177, 104)
HSLhsl(70, 32%, 55%)
HSVhsv(70, 41%, 69%)
CMYKcmyk(6.8%, 0%, 41.2%, 30.6%)
CIE-LABlab(69.78, -15.74, 35.90)
CIE-LCHlch(69.78, 39.20, 113.67°)
OKLaboklab(73.4% -0.0435 0.0873)
OKLCHoklch(73.4% 0.098 116.5)
XYZxyz(33.7381, 40.4434, 19.1230)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B168 #7468B1
analogous
#B19868 #A5B168 #80B168
triadic
#A5B168 #68A5B1 #B168A5
tetradic
#A5B168 #68B198 #7468B1 #B16880
square
#A5B168 #68B198 #7468B1 #B16880
split-complementary
#A5B168 #6880B1 #9868B1
monochromatic
#606936 #85914B #A5B168 #BDC690 #D5DBB9

Accessibility & contrast

On white

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

On black

9.09
#A5B168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B168
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B168#FFFFFF#000000##000000
##A5B1681.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAA62
Deuteranopia (green-blind)
#B9AB6C
Tritanopia (blue-blind)
#ACAA9F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b168;
/* rgb */ color: rgb(165, 177, 104);
/* oklch */ color: oklch(73.4% 0.098 116.5);
Tailwind
colors: {
  custom: {
    50: '#c1c894',
    500: '#a5b168',
    950: '#000000',
  },
}
SCSS
$custom: #a5b168;
$custom-light: #c1c894;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b168",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 104
  },
  "hsl": {
    "h": 69.863,
    "s": 31.878,
    "l": 55.098
  },
  "oklch": {
    "l": 0.734,
    "c": 0.09757,
    "h": 116.5
  },
  "luminance": 0.40443
}

Semantic roles & 50–950 ramp

primary
#A5B168
secondary
#B0ABCA
accent
#60C871
background
#FBFCF9
surface
#F7F8F1
border
#D0D1CB
text
#12130D
muted
#81827E

Preview Lab

Preview with #A5B168

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

Preview Lab → · Contrast checker → · Palette generator →

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