#A6B243#A6B243

#A6B243 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.135 H 115.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A6B243
RGBrgb(166, 178, 67)
HSLhsl(66, 45%, 48%)
HSVhsv(66, 62%, 70%)
CMYKcmyk(6.7%, 0%, 62.4%, 30.2%)
CIE-LABlab(69.72, -19.27, 53.59)
CIE-LCHlch(69.72, 56.95, 109.78°)
OKLaboklab(73.23% -0.0571 0.1224)
OKLCHoklch(73.23% 0.135 115)
XYZxyz(32.6601, 40.3535, 11.3776)
Luminance0.4035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B243 #4F43B2
analogous
#B28643 #A6B243 #6FB243
triadic
#A6B243 #43A6B2 #B243A6
tetradic
#A6B243 #43B286 #4F43B2 #B2436F
square
#A6B243 #43B286 #4F43B2 #B2436F
split-complementary
#A6B243 #436FB2 #8643B2
monochromatic
#535922 #7D8632 #A6B243 #BDC76B #D1D897

Accessibility & contrast

On white

2.32
#A6B243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A6B243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B243
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B243#FFFFFF#000000##000000
##A6B2431.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA935
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#B0A89B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b243;
/* rgb */ color: rgb(166, 178, 67);
/* oklch */ color: oklch(73.2% 0.135 115.0);
Tailwind
colors: {
  custom: {
    50: '#c3c87c',
    500: '#a6b243',
    950: '#000000',
  },
}
SCSS
$custom: #a6b243;
$custom-light: #c3c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b243",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 66.486,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73233,
    "c": 0.13508,
    "h": 115
  },
  "luminance": 0.40353
}

Semantic roles & 50–950 ramp

primary
#A6B243
secondary
#938DC4
accent
#53D561
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A6B243

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

Preview Lab → · Contrast checker → · Palette generator →

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