#A7B747#A7B747

#A7B747 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.5% C 0.137 H 116.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#A7B747
RGBrgb(167, 183, 71)
HSLhsl(69, 44%, 50%)
HSVhsv(69, 61%, 72%)
CMYKcmyk(8.7%, 0%, 61.2%, 28.2%)
CIE-LABlab(71.24, -21.07, 53.53)
CIE-LCHlch(71.24, 57.52, 111.49°)
OKLaboklab(74.48% -0.0618 0.1228)
OKLCHoklch(74.48% 0.137 116.7)
XYZxyz(34.0078, 42.5378, 12.3791)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B747 #5747B7
analogous
#B78F47 #A7B747 #6FB747
triadic
#A7B747 #47A7B7 #B747A7
tetradic
#A7B747 #47B78F #5747B7 #B7476F
square
#A7B747 #47B78F #5747B7 #B7476F
split-complementary
#A7B747 #476FB7 #8F47B7
monochromatic
#575F25 #7F8B36 #A7B747 #BCC973 #D1DA9F

Accessibility & contrast

On white

2.21
#A7B747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#A7B747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B747
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B747#FFFFFF#000000##000000
##A7B7471.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3A
Deuteranopia (green-blind)
#C1AF4E
Tritanopia (blue-blind)
#B1AD9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b747;
/* rgb */ color: rgb(167, 183, 71);
/* oklch */ color: oklch(74.5% 0.137 116.7);
Tailwind
colors: {
  custom: {
    50: '#c4cc7f',
    500: '#a7b747',
    950: '#000000',
  },
}
SCSS
$custom: #a7b747;
$custom-light: #c4cc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b747",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 68.571,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74481,
    "c": 0.13747,
    "h": 116.7
  },
  "luminance": 0.42537
}

Semantic roles & 50–950 ramp

primary
#A7B747
secondary
#9B94C6
accent
#54D466
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7B747

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

Preview Lab → · Contrast checker → · Palette generator →

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