#ADC228#ADC228

#ADC228 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.2% C 0.168 H 117.6°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#ADC228
RGBrgb(173, 194, 40)
HSLhsl(68, 66%, 46%)
HSVhsv(68, 79%, 76%)
CMYKcmyk(10.8%, 0%, 79.4%, 23.9%)
CIE-LABlab(74.59, -25.67, 68.25)
CIE-LCHlch(74.59, 72.92, 110.61°)
OKLaboklab(77.22% -0.0777 0.1488)
OKLCHoklch(77.22% 0.168 117.6)
XYZxyz(36.9093, 47.6214, 9.2545)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADC228 #3D28C2
analogous
#C28A28 #ADC228 #60C228
triadic
#ADC228 #28ADC2 #C228AD
tetradic
#ADC228 #28C28A #3D28C2 #C22860
square
#ADC228 #28C28A #3D28C2 #C22860
split-complementary
#ADC228 #2860C2 #8A28C2
monochromatic
#535D13 #808F1E #ADC228 #C7DA4D #D7E580

Accessibility & contrast

On white

2.00
#ADC228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#ADC228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADC228
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADC228#FFFFFF#000000##000000
##ADC2281.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CDB837
Tritanopia (blue-blind)
#B8B7A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #adc228;
/* rgb */ color: rgb(173, 194, 40);
/* oklch */ color: oklch(77.2% 0.168 117.6);
Tailwind
colors: {
  custom: {
    50: '#c9d470',
    500: '#adc228',
    950: '#000000',
  },
}
SCSS
$custom: #adc228;
$custom-light: #c9d470;
$custom-dark: #000000;
JSON
{
  "hex": "#adc228",
  "rgb": {
    "r": 173,
    "g": 194,
    "b": 40
  },
  "hsl": {
    "h": 68.182,
    "s": 65.812,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77215,
    "c": 0.16784,
    "h": 117.6
  },
  "luminance": 0.47621
}

Semantic roles & 50–950 ramp

primary
#ADC228
secondary
#8478CD
accent
#3FE956
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #ADC228

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

Preview Lab → · Contrast checker → · Palette generator →

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