#ADA840#ADA840

#ADA840 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.6% C 0.125 H 106.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#ADA840
RGBrgb(173, 168, 64)
HSLhsl(57, 46%, 46%)
HSVhsv(57, 63%, 68%)
CMYKcmyk(0%, 2.9%, 63%, 32.2%)
CIE-LABlab(67.47, -11.37, 52.65)
CIE-LCHlch(67.47, 53.86, 102.19°)
OKLaboklab(71.57% -0.0356 0.1198)
OKLCHoklch(71.57% 0.125 106.5)
XYZxyz(32.1627, 37.2607, 10.3473)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADA840 #4045AD
analogous
#AD7240 #ADA840 #7CAD40
triadic
#ADA840 #40ADA8 #A840AD
tetradic
#ADA840 #40AD72 #4045AD #AD407C
square
#ADA840 #40AD72 #4045AD #AD407C
split-complementary
#ADA840 #407CAD #7240AD
monochromatic
#54511F #807D2F #ADA840 #C6C164 #D6D391

Accessibility & contrast

On white

2.48
#ADA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#ADA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADA840
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADA840#FFFFFF#000000##000000
##ADA8401.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#B99D92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ada840;
/* rgb */ color: rgb(173, 168, 64);
/* oklch */ color: oklch(71.6% 0.125 106.5);
Tailwind
colors: {
  custom: {
    50: '#c8c17a',
    500: '#ada840',
    950: '#000000',
  },
}
SCSS
$custom: #ada840;
$custom-light: #c8c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#ada840",
  "rgb": {
    "r": 173,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 57.248,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71567,
    "c": 0.12499,
    "h": 106.5
  },
  "luminance": 0.3726
}

Semantic roles & 50–950 ramp

primary
#ADA840
secondary
#878AC2
accent
#58D652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ADA840

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

Preview Lab → · Contrast checker → · Palette generator →

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