#ADB227#ADB227

#ADB227 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.6% C 0.151 H 111.7°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#ADB227
RGBrgb(173, 178, 39)
HSLhsl(62, 64%, 43%)
HSVhsv(62, 78%, 70%)
CMYKcmyk(2.8%, 0%, 78.1%, 30.2%)
CIE-LABlab(70.09, -17.80, 64.51)
CIE-LCHlch(70.09, 66.92, 105.43°)
OKLaboklab(73.6% -0.0561 0.1406)
OKLCHoklch(73.6% 0.151 111.7)
XYZxyz(33.5213, 40.8724, 8.0424)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADB227 #2C27B2
analogous
#B27127 #ADB227 #68B227
triadic
#ADB227 #27ADB2 #B227AD
tetradic
#ADB227 #27B271 #2C27B2 #B22768
square
#ADB227 #27B271 #2C27B2 #B22768
split-complementary
#ADB227 #2768B2 #7127B2
monochromatic
#4B4E11 #7C801C #ADB227 #D0D541 #DCE073

Accessibility & contrast

On white

2.29
#ADB227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#ADB227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADB227
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADB227#FFFFFF#000000##000000
##ADB2271.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#B9A798
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #adb227;
/* rgb */ color: rgb(173, 178, 39);
/* oklch */ color: oklch(73.6% 0.151 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9c86e',
    500: '#adb227',
    950: '#000000',
  },
}
SCSS
$custom: #adb227;
$custom-light: #c9c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#adb227",
  "rgb": {
    "r": 173,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 62.158,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73603,
    "c": 0.15136,
    "h": 111.7
  },
  "luminance": 0.40872
}

Semantic roles & 50–950 ramp

primary
#ADB227
secondary
#716DC8
accent
#41E747
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ADB227

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

Preview Lab → · Contrast checker → · Palette generator →

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