#A6BD2E#A6BD2E

#A6BD2E is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.6% C 0.162 H 118.6°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#A6BD2E
RGBrgb(166, 189, 46)
HSLhsl(70, 61%, 46%)
HSVhsv(70, 76%, 74%)
CMYKcmyk(12.2%, 0%, 75.7%, 25.9%)
CIE-LABlab(72.69, -25.92, 64.53)
CIE-LCHlch(72.69, 69.54, 111.88°)
OKLaboklab(75.58% -0.0776 0.1421)
OKLCHoklch(75.58% 0.162 118.6)
XYZxyz(34.4174, 44.6997, 9.3990)
Luminance0.4470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BD2E #452EBD
analogous
#BD8C2E #A6BD2E #5EBD2E
triadic
#A6BD2E #2EA6BD #BD2EA6
tetradic
#A6BD2E #2EBD8C #452EBD #BD2E5E
square
#A6BD2E #2EBD8C #452EBD #BD2E5E
split-complementary
#A6BD2E #2E5EBD #8C2EBD
monochromatic
#505B16 #7B8C22 #A6BD2E #C0D553 #D2E184

Accessibility & contrast

On white

2.11
#A6BD2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#A6BD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BD2E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BD2E#FFFFFF#000000##000000
##A6BD2E1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB209
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#B0B2A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bd2e;
/* rgb */ color: rgb(166, 189, 46);
/* oklch */ color: oklch(75.6% 0.162 118.6);
Tailwind
colors: {
  custom: {
    50: '#c4d072',
    500: '#a6bd2e',
    950: '#000000',
  },
}
SCSS
$custom: #a6bd2e;
$custom-light: #c4d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bd2e",
  "rgb": {
    "r": 166,
    "g": 189,
    "b": 46
  },
  "hsl": {
    "h": 69.65,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75575,
    "c": 0.16191,
    "h": 118.6
  },
  "luminance": 0.44699
}

Semantic roles & 50–950 ramp

primary
#A6BD2E
secondary
#897CCA
accent
#44E45E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A6BD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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