#A6B738#A6B738

#A6B738 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.149 H 116.8°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#A6B738
RGBrgb(166, 183, 56)
HSLhsl(68, 53%, 47%)
HSVhsv(68, 69%, 72%)
CMYKcmyk(9.3%, 0%, 69.4%, 28.2%)
CIE-LABlab(71.05, -22.47, 59.43)
CIE-LCHlch(71.05, 63.54, 110.71°)
OKLaboklab(74.27% -0.0671 0.1331)
OKLCHoklch(74.27% 0.149 116.8)
XYZxyz(33.3740, 42.2599, 10.1395)
Luminance0.4226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B738 #4938B7
analogous
#B78838 #A6B738 #67B738
triadic
#A6B738 #38A6B7 #B738A6
tetradic
#A6B738 #38B788 #4938B7 #B73867
square
#A6B738 #38B788 #4938B7 #B73867
split-complementary
#A6B738 #3867B7 #8838B7
monochromatic
#51591B #7B882A #A6B738 #BFCE5E #D2DC8D

Accessibility & contrast

On white

2.22
#A6B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#A6B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B738
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B738#FFFFFF#000000##000000
##A6B7381.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#B0AD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b738;
/* rgb */ color: rgb(166, 183, 56);
/* oklch */ color: oklch(74.3% 0.149 116.8);
Tailwind
colors: {
  custom: {
    50: '#c4cc76',
    500: '#a6b738',
    950: '#000000',
  },
}
SCSS
$custom: #a6b738;
$custom-light: #c4cc76;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b738",
  "rgb": {
    "r": 166,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 68.031,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74272,
    "c": 0.14904,
    "h": 116.8
  },
  "luminance": 0.42259
}

Semantic roles & 50–950 ramp

primary
#A6B738
secondary
#8D84C7
accent
#4BDD5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B738

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

Preview Lab → · Contrast checker → · Palette generator →

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