#A8B319#A8B319

#A8B319 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.160 H 114.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#A8B319
RGBrgb(168, 179, 25)
HSLhsl(64, 75%, 40%)
HSVhsv(64, 86%, 70%)
CMYKcmyk(6.1%, 0%, 86%, 29.8%)
CIE-LABlab(69.92, -20.90, 67.81)
CIE-LCHlch(69.92, 70.96, 107.13°)
OKLaboklab(73.36% -0.0653 0.1455)
OKLCHoklch(73.36% 0.16 114.2)
XYZxyz(32.4451, 40.6359, 7.0539)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B319 #2419B3
analogous
#B37119 #A8B319 #5BB319
triadic
#A8B319 #19A8B3 #B319A8
tetradic
#A8B319 #19B371 #2419B3 #B3195B
square
#A8B319 #19B371 #2419B3 #B3195B
split-complementary
#A8B319 #195BB3 #7119B3
monochromatic
#43480A #767D12 #A8B319 #D4E128 #DFE85E

Accessibility & contrast

On white

2.30
#A8B319 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#A8B319 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B319
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B319#FFFFFF#000000##000000
##A8B3191.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2B
Tritanopia (blue-blind)
#B4A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b319;
/* rgb */ color: rgb(168, 179, 25);
/* oklch */ color: oklch(73.4% 0.160 114.2);
Tailwind
colors: {
  custom: {
    50: '#c6c969',
    500: '#a8b319',
    950: '#000000',
  },
}
SCSS
$custom: #a8b319;
$custom-light: #c6c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b319",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 25
  },
  "hsl": {
    "h": 64.286,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.73355,
    "c": 0.15953,
    "h": 114.2
  },
  "luminance": 0.40635
}

Semantic roles & 50–950 ramp

primary
#A8B319
secondary
#635BCC
accent
#36F243
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A8B319

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

Preview Lab → · Contrast checker → · Palette generator →

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