#A7B652#A7B652

#A7B652 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.4% C 0.127 H 116.7°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#A7B652
RGBrgb(167, 182, 82)
HSLhsl(69, 41%, 52%)
HSVhsv(69, 55%, 71%)
CMYKcmyk(8.2%, 0%, 54.9%, 28.6%)
CIE-LABlab(71.06, -19.69, 48.35)
CIE-LCHlch(71.06, 52.21, 112.16°)
OKLaboklab(74.37% -0.0568 0.1131)
OKLCHoklch(74.37% 0.127 116.7)
XYZxyz(34.1878, 42.2810, 14.3410)
Luminance0.4228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B652 #6152B6
analogous
#B69352 #A7B652 #75B652
triadic
#A7B652 #52A7B6 #B652A7
tetradic
#A7B652 #52B693 #6152B6 #B65275
square
#A7B652 #52B693 #6152B6 #B65275
split-complementary
#A7B652 #5275B6 #9352B6
monochromatic
#5B642A #828F3C #A7B652 #BDC87D #D3DAA8

Accessibility & contrast

On white

2.22
#A7B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#A7B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B652
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B652#FFFFFF#000000##000000
##A7B6521.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#C0AF58
Tritanopia (blue-blind)
#B0ADA0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b652;
/* rgb */ color: rgb(167, 182, 82);
/* oklch */ color: oklch(74.4% 0.127 116.7);
Tailwind
colors: {
  custom: {
    50: '#c3cb86',
    500: '#a7b652',
    950: '#000000',
  },
}
SCSS
$custom: #a7b652;
$custom-light: #c3cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b652",
  "rgb": {
    "r": 167,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 69,
    "s": 40.65,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74374,
    "c": 0.12652,
    "h": 116.7
  },
  "luminance": 0.42281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7B652

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

Preview Lab → · Contrast checker → · Palette generator →

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