#A5B047#A5B047

#A5B047 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.130 H 114.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A5B047
RGBrgb(165, 176, 71)
HSLhsl(66, 43%, 48%)
HSVhsv(66, 60%, 69%)
CMYKcmyk(6.2%, 0%, 59.7%, 31%)
CIE-LABlab(69.12, -18.39, 51.16)
CIE-LCHlch(69.12, 54.36, 109.77°)
OKLaboklab(72.74% -0.0542 0.1178)
OKLCHoklch(72.74% 0.13 114.7)
XYZxyz(32.1804, 39.5054, 11.8901)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B047 #5247B0
analogous
#B08647 #A5B047 #70B047
triadic
#A5B047 #47A5B0 #B047A5
tetradic
#A5B047 #47B086 #5247B0 #B04770
square
#A5B047 #47B086 #5247B0 #B04770
split-complementary
#A5B047 #4770B0 #8647B0
monochromatic
#535924 #7C8435 #A5B047 #BCC56F #D0D79B

Accessibility & contrast

On white

2.36
#A5B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#A5B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B047
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B047#FFFFFF#000000##000000
##A5B0471.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83B
Deuteranopia (green-blind)
#BBAA4E
Tritanopia (blue-blind)
#AFA79A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b047;
/* rgb */ color: rgb(165, 176, 71);
/* oklch */ color: oklch(72.7% 0.130 114.7);
Tailwind
colors: {
  custom: {
    50: '#c2c77e',
    500: '#a5b047',
    950: '#000000',
  },
}
SCSS
$custom: #a5b047;
$custom-light: #c2c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b047",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 66.286,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72741,
    "c": 0.12965,
    "h": 114.7
  },
  "luminance": 0.39505
}

Semantic roles & 50–950 ramp

primary
#A5B047
secondary
#9590C3
accent
#56D263
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B047

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

Preview Lab → · Contrast checker → · Palette generator →

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