#A7B023#A7B023

#A7B023 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.153 H 113.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#A7B023
RGBrgb(167, 176, 35)
HSLhsl(64, 67%, 41%)
HSVhsv(64, 80%, 69%)
CMYKcmyk(5.1%, 0%, 80.1%, 31%)
CIE-LABlab(69.03, -19.53, 64.55)
CIE-LCHlch(69.03, 67.44, 106.83°)
OKLaboklab(72.64% -0.0608 0.1402)
OKLCHoklch(72.64% 0.153 113.5)
XYZxyz(31.7661, 39.3882, 7.5191)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B023 #2C23B0
analogous
#B07323 #A7B023 #61B023
triadic
#A7B023 #23A7B0 #B023A7
tetradic
#A7B023 #23B073 #2C23B0 #B02361
square
#A7B023 #23B073 #2C23B0 #B02361
split-complementary
#A7B023 #2361B0 #7323B0
monochromatic
#464A0F #777D19 #A7B023 #CDD839 #DAE26C

Accessibility & contrast

On white

2.37
#A7B023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#A7B023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B023
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B023#FFFFFF#000000##000000
##A7B0231.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BDAA31
Tritanopia (blue-blind)
#B3A596
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7b023;
/* rgb */ color: rgb(167, 176, 35);
/* oklch */ color: oklch(72.6% 0.153 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c76c',
    500: '#a7b023',
    950: '#000000',
  },
}
SCSS
$custom: #a7b023;
$custom-light: #c5c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b023",
  "rgb": {
    "r": 167,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 63.83,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72635,
    "c": 0.15284,
    "h": 113.5
  },
  "luminance": 0.39388
}

Semantic roles & 50–950 ramp

primary
#A7B023
secondary
#6D67C8
accent
#3EEA49
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7B023

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

Preview Lab → · Contrast checker → · Palette generator →

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