#A8B052#A8B052

#A8B052 is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.1% C 0.119 H 113.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#A8B052
RGBrgb(168, 176, 82)
HSLhsl(65, 37%, 51%)
HSVhsv(65, 53%, 69%)
CMYKcmyk(4.5%, 0%, 53.4%, 31%)
CIE-LABlab(69.46, -16.24, 46.52)
CIE-LCHlch(69.46, 49.27, 109.24°)
OKLaboklab(73.11% -0.0471 0.1091)
OKLCHoklch(73.11% 0.119 113.4)
XYZxyz(33.1974, 39.9853, 13.9501)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B052 #5A52B0
analogous
#B08952 #A8B052 #79B052
triadic
#A8B052 #52A8B0 #B052A8
tetradic
#A8B052 #52B089 #5A52B0 #B05279
square
#A8B052 #52B089 #5A52B0 #B05279
split-complementary
#A8B052 #5279B0 #8952B0
monochromatic
#595D2B #81873E #A8B052 #BDC37C #D2D6A6

Accessibility & contrast

On white

2.33
#A8B052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#A8B052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B052
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B052#FFFFFF#000000##000000
##A8B0521.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA949
Deuteranopia (green-blind)
#BBAB57
Tritanopia (blue-blind)
#B2A79B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b052;
/* rgb */ color: rgb(168, 176, 82);
/* oklch */ color: oklch(73.1% 0.119 113.4);
Tailwind
colors: {
  custom: {
    50: '#c4c785',
    500: '#a8b052',
    950: '#000000',
  },
}
SCSS
$custom: #a8b052;
$custom-light: #c4c785;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b052",
  "rgb": {
    "r": 168,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 65.106,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73108,
    "c": 0.11881,
    "h": 113.4
  },
  "luminance": 0.39985
}

Semantic roles & 50–950 ramp

primary
#A8B052
secondary
#9E9AC4
accent
#5BCD64
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A8B052

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

Preview Lab → · Contrast checker → · Palette generator →

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