#A6B123#A6B123

#A6B123 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.154 H 114.3°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#A6B123
RGBrgb(166, 177, 35)
HSLhsl(65, 67%, 42%)
HSVhsv(65, 80%, 69%)
CMYKcmyk(6.2%, 0%, 80.2%, 30.6%)
CIE-LABlab(69.24, -20.46, 64.70)
CIE-LCHlch(69.24, 67.86, 107.55°)
OKLaboklab(72.78% -0.0634 0.1406)
OKLCHoklch(72.78% 0.154 114.3)
XYZxyz(31.7524, 39.6733, 7.5748)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B123 #2E23B1
analogous
#B17523 #A6B123 #5FB123
triadic
#A6B123 #23A6B1 #B123A6
tetradic
#A6B123 #23B175 #2E23B1 #B1235F
square
#A6B123 #23B175 #2E23B1 #B1235F
split-complementary
#A6B123 #235FB1 #7523B1
monochromatic
#464B0F #767E19 #A6B123 #CCD839 #D9E26C

Accessibility & contrast

On white

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

On black

8.93
#A6B123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B123
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B123#FFFFFF#000000##000000
##A6B1231.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b123;
/* rgb */ color: rgb(166, 177, 35);
/* oklch */ color: oklch(72.8% 0.154 114.3);
Tailwind
colors: {
  custom: {
    50: '#c4c86c',
    500: '#a6b123',
    950: '#000000',
  },
}
SCSS
$custom: #a6b123;
$custom-light: #c4c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b123",
  "rgb": {
    "r": 166,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 64.648,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7278,
    "c": 0.15421,
    "h": 114.3
  },
  "luminance": 0.39673
}

Semantic roles & 50–950 ramp

primary
#A6B123
secondary
#6F68C8
accent
#3EEA4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A6B123

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

Preview Lab → · Contrast checker → · Palette generator →

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