#A0B315#A0B315

#A0B315 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.7% C 0.164 H 117.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#A0B315
RGBrgb(160, 179, 21)
HSLhsl(67, 79%, 39%)
HSVhsv(67, 88%, 70%)
CMYKcmyk(10.6%, 0%, 88.3%, 29.8%)
CIE-LABlab(69.30, -24.43, 67.86)
CIE-LCHlch(69.30, 72.13, 109.80°)
OKLaboklab(72.71% -0.0748 0.1454)
OKLCHoklch(72.71% 0.164 117.2)
XYZxyz(30.7535, 39.7683, 6.7653)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B315 #2815B3
analogous
#B37715 #A0B315 #51B315
triadic
#A0B315 #15A0B3 #B315A0
tetradic
#A0B315 #15B377 #2815B3 #B31551
square
#A0B315 #15B377 #2815B3 #B31551
split-complementary
#A0B315 #1551B3 #7715B3
monochromatic
#3E4508 #6F7C0F #A0B315 #CDE520 #D9EB57

Accessibility & contrast

On white

2.35
#A0B315 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#A0B315 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B315
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B315#FFFFFF#000000##000000
##A0B3151.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA29
Tritanopia (blue-blind)
#ABA898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b315;
/* rgb */ color: rgb(160, 179, 21);
/* oklch */ color: oklch(72.7% 0.164 117.2);
Tailwind
colors: {
  custom: {
    50: '#c0c967',
    500: '#a0b315',
    950: '#000000',
  },
}
SCSS
$custom: #a0b315;
$custom-light: #c0c967;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b315",
  "rgb": {
    "r": 160,
    "g": 179,
    "b": 21
  },
  "hsl": {
    "h": 67.215,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.72706,
    "c": 0.16352,
    "h": 117.2
  },
  "luminance": 0.39768
}

Semantic roles & 50–950 ramp

primary
#A0B315
secondary
#6456CE
accent
#32F54A
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B315

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

Preview Lab → · Contrast checker → · Palette generator →

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