#A6B237#A6B237

#A6B237 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.144 H 114.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A6B237
RGBrgb(166, 178, 55)
HSLhsl(66, 53%, 46%)
HSVhsv(66, 69%, 70%)
CMYKcmyk(6.7%, 0%, 69.1%, 30.2%)
CIE-LABlab(69.63, -20.04, 58.39)
CIE-LCHlch(69.63, 61.73, 108.94°)
OKLaboklab(73.13% -0.0605 0.1307)
OKLCHoklch(73.13% 0.144 114.8)
XYZxyz(32.3367, 40.2242, 9.6743)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B237 #4337B2
analogous
#B28037 #A6B237 #68B237
triadic
#A6B237 #37A6B2 #B237A6
tetradic
#A6B237 #37B280 #4337B2 #B23768
square
#A6B237 #37B280 #4337B2 #B23768
split-complementary
#A6B237 #3768B2 #8037B2
monochromatic
#4F541A #7A8329 #A6B237 #C1CC5A #D3DB89

Accessibility & contrast

On white

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

On black

9.04
#A6B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B237
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B237#FFFFFF#000000##000000
##A6B2371.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA924
Deuteranopia (green-blind)
#BEAB40
Tritanopia (blue-blind)
#B1A89A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b237;
/* rgb */ color: rgb(166, 178, 55);
/* oklch */ color: oklch(73.1% 0.144 114.8);
Tailwind
colors: {
  custom: {
    50: '#c3c875',
    500: '#a6b237',
    950: '#000000',
  },
}
SCSS
$custom: #a6b237;
$custom-light: #c3c875;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b237",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 65.854,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7313,
    "c": 0.14402,
    "h": 114.8
  },
  "luminance": 0.40224
}

Semantic roles & 50–950 ramp

primary
#A6B237
secondary
#8780C5
accent
#4CDC5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B237

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

Preview Lab → · Contrast checker → · Palette generator →

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