#A6B230#A6B230

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

Color values

HEX#A6B230
RGBrgb(166, 178, 48)
HSLhsl(66, 58%, 44%)
HSVhsv(66, 73%, 70%)
CMYKcmyk(6.7%, 0%, 73%, 30.2%)
CIE-LABlab(69.58, -20.41, 60.92)
CIE-LCHlch(69.58, 64.25, 108.52°)
OKLaboklab(73.08% -0.0622 0.1348)
OKLCHoklch(73.08% 0.148 114.8)
XYZxyz(32.1807, 40.1618, 8.8525)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B230 #3C30B2
analogous
#B27D30 #A6B230 #65B230
triadic
#A6B230 #30A6B2 #B230A6
tetradic
#A6B230 #30B27D #3C30B2 #B23065
square
#A6B230 #30B27D #3C30B2 #B23065
split-complementary
#A6B230 #3065B2 #7D30B2
monochromatic
#4C5216 #798223 #A6B230 #C4D050 #D4DD80

Accessibility & contrast

On white

2.33
#A6B230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#A6B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B230
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B230#FFFFFF#000000##000000
##A6B2301.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b230;
/* rgb */ color: rgb(166, 178, 48);
/* oklch */ color: oklch(73.1% 0.148 114.8);
Tailwind
colors: {
  custom: {
    50: '#c4c872',
    500: '#a6b230',
    950: '#000000',
  },
}
SCSS
$custom: #a6b230;
$custom-light: #c4c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b230",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 65.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7308,
    "c": 0.14848,
    "h": 114.8
  },
  "luminance": 0.40161
}

Semantic roles & 50–950 ramp

primary
#A6B230
secondary
#7F78C6
accent
#47E155
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B230

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

Preview Lab → · Contrast checker → · Palette generator →

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