#A7B752#A7B752

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

Color values

HEX#A7B752
RGBrgb(167, 183, 82)
HSLhsl(70, 41%, 52%)
HSVhsv(70, 55%, 72%)
CMYKcmyk(8.7%, 0%, 55.2%, 28.2%)
CIE-LABlab(71.35, -20.19, 48.68)
CIE-LCHlch(71.35, 52.70, 112.53°)
OKLaboklab(74.6% -0.0582 0.1137)
OKLCHoklch(74.6% 0.128 117.1)
XYZxyz(34.3933, 42.6920, 14.4095)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B752 #6252B7
analogous
#B79552 #A7B752 #75B752
triadic
#A7B752 #52A7B7 #B752A7
tetradic
#A7B752 #52B795 #6252B7 #B75275
square
#A7B752 #52B795 #6252B7 #B75275
split-complementary
#A7B752 #5275B7 #9552B7
monochromatic
#5B652A #83903C #A7B752 #BDC97D #D3DBA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B752#FFFFFF#000000##000000
##A7B7521.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)
#C2AE48
Deuteranopia (green-blind)
#C1AF58
Tritanopia (blue-blind)
#B0AEA1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b752;
/* rgb */ color: rgb(167, 183, 82);
/* oklch */ color: oklch(74.6% 0.128 117.1);
Tailwind
colors: {
  custom: {
    50: '#c3cc86',
    500: '#a7b752',
    950: '#000000',
  },
}
SCSS
$custom: #a7b752;
$custom-light: #c3cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b752",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 69.505,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74599,
    "c": 0.12777,
    "h": 117.1
  },
  "luminance": 0.42692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7B752

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

Preview Lab → · Contrast checker → · Palette generator →

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