#A8B023#A8B023

#A8B023 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.153 H 113.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A8B023
RGBrgb(168, 176, 35)
HSLhsl(63, 67%, 41%)
HSVhsv(63, 80%, 69%)
CMYKcmyk(4.5%, 0%, 80.1%, 31%)
CIE-LABlab(69.11, -19.10, 64.65)
CIE-LCHlch(69.11, 67.41, 106.46°)
OKLaboklab(72.72% -0.0597 0.1404)
OKLCHoklch(72.72% 0.153 113)
XYZxyz(31.9782, 39.4976, 7.5290)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B023 #2B23B0
analogous
#B07223 #A8B023 #62B023
triadic
#A8B023 #23A8B0 #B023A8
tetradic
#A8B023 #23B072 #2B23B0 #B02362
square
#A8B023 #23B072 #2B23B0 #B02362
split-complementary
#A8B023 #2362B0 #7223B0
monochromatic
#474A0F #777D19 #A8B023 #CFD839 #DBE26C

Accessibility & contrast

On white

2.36
#A8B023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#A8B023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B023
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B023#FFFFFF#000000##000000
##A8B0231.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BEAA31
Tritanopia (blue-blind)
#B4A596
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b023;
/* rgb */ color: rgb(168, 176, 35);
/* oklch */ color: oklch(72.7% 0.153 113.0);
Tailwind
colors: {
  custom: {
    50: '#c6c76c',
    500: '#a8b023',
    950: '#000000',
  },
}
SCSS
$custom: #a8b023;
$custom-light: #c6c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b023",
  "rgb": {
    "r": 168,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 63.404,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72717,
    "c": 0.15256,
    "h": 113
  },
  "luminance": 0.39497
}

Semantic roles & 50–950 ramp

primary
#A8B023
secondary
#6C67C8
accent
#3EEA48
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A8B023

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

Preview Lab → · Contrast checker → · Palette generator →

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