#ADB31F#ADB31F

#ADB31F is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.8% C 0.156 H 112.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#ADB31F
RGBrgb(173, 179, 31)
HSLhsl(62, 70%, 41%)
HSVhsv(62, 83%, 70%)
CMYKcmyk(3.4%, 0%, 82.7%, 29.8%)
CIE-LABlab(70.33, -18.58, 66.93)
CIE-LCHlch(70.33, 69.46, 105.51°)
OKLaboklab(73.79% -0.0588 0.1444)
OKLCHoklch(73.79% 0.156 112.2)
XYZxyz(33.6022, 41.2242, 7.4831)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADB31F #251FB3
analogous
#B36F1F #ADB31F #63B31F
triadic
#ADB31F #1FADB3 #B31FAD
tetradic
#ADB31F #1FB36F #251FB3 #B31F63
square
#ADB31F #1FB36F #251FB3 #B31F63
split-complementary
#ADB31F #1F63B3 #6F1FB3
monochromatic
#484B0D #7B7F16 #ADB31F #D5DC33 #E0E568

Accessibility & contrast

On white

2.27
#ADB31F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#ADB31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADB31F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADB31F#FFFFFF#000000##000000
##ADB31F1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C2AE2E
Tritanopia (blue-blind)
#B9A799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #adb31f;
/* rgb */ color: rgb(173, 179, 31);
/* oklch */ color: oklch(73.8% 0.156 112.2);
Tailwind
colors: {
  custom: {
    50: '#c9c96b',
    500: '#adb31f',
    950: '#000000',
  },
}
SCSS
$custom: #adb31f;
$custom-light: #c9c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#adb31f",
  "rgb": {
    "r": 173,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 62.432,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.73789,
    "c": 0.15589,
    "h": 112.2
  },
  "luminance": 0.41223
}

Semantic roles & 50–950 ramp

primary
#ADB31F
secondary
#6864CA
accent
#3BED42
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ADB31F

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

Preview Lab → · Contrast checker → · Palette generator →

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