#A7B751#A7B751

#A7B751 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.6% C 0.129 H 117.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#A7B751
RGBrgb(167, 183, 81)
HSLhsl(69, 41%, 52%)
HSVhsv(69, 56%, 72%)
CMYKcmyk(8.7%, 0%, 55.7%, 28.2%)
CIE-LABlab(71.34, -20.28, 49.13)
CIE-LCHlch(71.34, 53.15, 112.43°)
OKLaboklab(74.59% -0.0586 0.1146)
OKLCHoklch(74.59% 0.129 117.1)
XYZxyz(34.3556, 42.6769, 14.2106)
Luminance0.4268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B751 #6151B7
analogous
#B79451 #A7B751 #74B751
triadic
#A7B751 #51A7B7 #B751A7
tetradic
#A7B751 #51B794 #6151B7 #B75174
square
#A7B751 #51B794 #6151B7 #B75174
split-complementary
#A7B751 #5174B7 #9451B7
monochromatic
#5B6429 #828F3B #A7B751 #BDC97C #D3DBA8

Accessibility & contrast

On white

2.20
#A7B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#A7B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B751
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B751#FFFFFF#000000##000000
##A7B7511.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE47
Deuteranopia (green-blind)
#C1AF57
Tritanopia (blue-blind)
#B0AEA1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b751;
/* rgb */ color: rgb(167, 183, 81);
/* oklch */ color: oklch(74.6% 0.129 117.1);
Tailwind
colors: {
  custom: {
    50: '#c3cc85',
    500: '#a7b751',
    950: '#000000',
  },
}
SCSS
$custom: #a7b751;
$custom-light: #c3cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b751",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 69.412,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74587,
    "c": 0.1287,
    "h": 117.1
  },
  "luminance": 0.42677
}

Semantic roles & 50–950 ramp

primary
#A7B751
secondary
#A39CC8
accent
#57D16A
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A7B751

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

Preview Lab → · Contrast checker → · Palette generator →

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