#A0A338#A0A338

#A0A338 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.128 H 110.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A0A338
RGBrgb(160, 163, 56)
HSLhsl(62, 49%, 43%)
HSVhsv(62, 66%, 64%)
CMYKcmyk(1.8%, 0%, 65.6%, 36.1%)
CIE-LABlab(64.93, -14.91, 53.05)
CIE-LCHlch(64.93, 55.10, 105.70°)
OKLaboklab(69.25% -0.0457 0.1198)
OKLCHoklch(69.25% 0.128 110.9)
XYZxyz(28.3091, 33.9542, 8.8032)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A338 #3B38A3
analogous
#A37038 #A0A338 #6BA338
triadic
#A0A338 #38A0A3 #A338A0
tetradic
#A0A338 #38A370 #3B38A3 #A3386B
square
#A0A338 #38A370 #3B38A3 #A3386B
split-complementary
#A0A338 #386BA3 #7038A3
monochromatic
#474819 #737528 #A0A338 #C1C454 #D2D482

Accessibility & contrast

On white

2.70
#A0A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A0A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A338
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A338#FFFFFF#000000##000000
##A0A3381.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C29
Deuteranopia (green-blind)
#B09F3F
Tritanopia (blue-blind)
#AB998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a0a338;
/* rgb */ color: rgb(160, 163, 56);
/* oklch */ color: oklch(69.3% 0.128 110.9);
Tailwind
colors: {
  custom: {
    50: '#bfbe74',
    500: '#a0a338',
    950: '#000000',
  },
}
SCSS
$custom: #a0a338;
$custom-light: #bfbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a338",
  "rgb": {
    "r": 160,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 61.682,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.12818,
    "h": 110.9
  },
  "luminance": 0.33953
}

Semantic roles & 50–950 ramp

primary
#A0A338
secondary
#7B79BD
accent
#4FD853
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A0A338

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

Preview Lab → · Contrast checker → · Palette generator →

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