#ADA838#ADA838

#ADA838 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.5% C 0.131 H 106.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#ADA838
RGBrgb(173, 168, 56)
HSLhsl(57, 51%, 45%)
HSVhsv(57, 68%, 68%)
CMYKcmyk(0%, 2.9%, 67.6%, 32.2%)
CIE-LABlab(67.41, -11.86, 55.94)
CIE-LCHlch(67.41, 57.18, 101.97°)
OKLaboklab(71.5% -0.0378 0.1255)
OKLCHoklch(71.5% 0.131 106.8)
XYZxyz(31.9512, 37.1761, 9.2333)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADA838 #383DAD
analogous
#AD6E38 #ADA838 #77AD38
triadic
#ADA838 #38ADA8 #A838AD
tetradic
#ADA838 #38AD6E #383DAD #AD3877
square
#ADA838 #38AD6E #383DAD #AD3877
split-complementary
#ADA838 #3877AD #6E38AD
monochromatic
#514E1A #7F7B29 #ADA838 #C9C459 #D8D587

Accessibility & contrast

On white

2.49
#ADA838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#ADA838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADA838
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADA838#FFFFFF#000000##000000
##ADA8381.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#B99D91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ada838;
/* rgb */ color: rgb(173, 168, 56);
/* oklch */ color: oklch(71.5% 0.131 106.8);
Tailwind
colors: {
  custom: {
    50: '#c9c175',
    500: '#ada838',
    950: '#000000',
  },
}
SCSS
$custom: #ada838;
$custom-light: #c9c175;
$custom-dark: #000000;
JSON
{
  "hex": "#ada838",
  "rgb": {
    "r": 173,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 57.436,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71496,
    "c": 0.13108,
    "h": 106.8
  },
  "luminance": 0.37175
}

Semantic roles & 50–950 ramp

primary
#ADA838
secondary
#7F81C2
accent
#53DB4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #ADA838

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

Preview Lab → · Contrast checker → · Palette generator →

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