#A6A233#A6A233

#A6A233 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.130 H 107.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#A6A233
RGBrgb(166, 162, 51)
HSLhsl(58, 53%, 43%)
HSVhsv(58, 69%, 65%)
CMYKcmyk(0%, 2.4%, 69.3%, 34.9%)
CIE-LABlab(65.11, -12.07, 55.42)
CIE-LCHlch(65.11, 56.72, 102.28°)
OKLaboklab(69.51% -0.0385 0.1238)
OKLCHoklch(69.51% 0.13 107.3)
XYZxyz(29.2448, 34.1876, 8.1897)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A233 #3337A6
analogous
#A66833 #A6A233 #71A633
triadic
#A6A233 #33A6A2 #A233A6
tetradic
#A6A233 #33A668 #3337A6 #A63371
square
#A6A233 #33A668 #3337A6 #A63371
split-complementary
#A6A233 #3371A6 #6833A6
monochromatic
#484716 #777425 #A6A233 #C9C44E #D7D47C

Accessibility & contrast

On white

2.68
#A6A233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#A6A233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A233
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A233#FFFFFF#000000##000000
##A6A2331.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C22
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#B2978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a233;
/* rgb */ color: rgb(166, 162, 51);
/* oklch */ color: oklch(69.5% 0.130 107.3);
Tailwind
colors: {
  custom: {
    50: '#c4bd72',
    500: '#a6a233',
    950: '#000000',
  },
}
SCSS
$custom: #a6a233;
$custom-light: #c4bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a233",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 57.913,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69509,
    "c": 0.12964,
    "h": 107.3
  },
  "luminance": 0.34187
}

Semantic roles & 50–950 ramp

primary
#A6A233
secondary
#7578C0
accent
#50DC4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A233

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

Preview Lab → · Contrast checker → · Palette generator →

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