#A8A236#A8A236

#A8A236 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.127 H 106.2°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A8A236
RGBrgb(168, 162, 54)
HSLhsl(57, 51%, 44%)
HSVhsv(57, 68%, 66%)
CMYKcmyk(0%, 3.6%, 67.9%, 34.1%)
CIE-LABlab(65.30, -11.02, 54.47)
CIE-LCHlch(65.30, 55.58, 101.44°)
OKLaboklab(69.71% -0.0354 0.1222)
OKLCHoklch(69.71% 0.127 106.2)
XYZxyz(29.7357, 34.4329, 8.5692)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A236 #363CA8
analogous
#A86936 #A8A236 #75A836
triadic
#A8A236 #36A8A2 #A236A8
tetradic
#A8A236 #36A869 #363CA8 #A83675
square
#A8A236 #36A869 #363CA8 #A83675
split-complementary
#A8A236 #3675A8 #6936A8
monochromatic
#4B4918 #7A7527 #A8A236 #C8C253 #D7D282

Accessibility & contrast

On white

2.66
#A8A236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A8A236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A236
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A236#FFFFFF#000000##000000
##A8A2361.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C27
Deuteranopia (green-blind)
#B2A13D
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a236;
/* rgb */ color: rgb(168, 162, 54);
/* oklch */ color: oklch(69.7% 0.127 106.2);
Tailwind
colors: {
  custom: {
    50: '#c5bd73',
    500: '#a8a236',
    950: '#000000',
  },
}
SCSS
$custom: #a8a236;
$custom-light: #c5bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a236",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 56.842,
    "s": 51.351,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69711,
    "c": 0.12724,
    "h": 106.2
  },
  "luminance": 0.34432
}

Semantic roles & 50–950 ramp

primary
#A8A236
secondary
#7A7DC0
accent
#54DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A236

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

Preview Lab → · Contrast checker → · Palette generator →

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