#A0A138#A0A138

#A0A138 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.8% C 0.126 H 109.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A0A138
RGBrgb(160, 161, 56)
HSLhsl(61, 48%, 43%)
HSVhsv(61, 65%, 63%)
CMYKcmyk(0.6%, 0%, 65.2%, 36.9%)
CIE-LABlab(64.36, -13.87, 52.46)
CIE-LCHlch(64.36, 54.26, 104.81°)
OKLaboklab(68.8% -0.0427 0.1185)
OKLCHoklch(68.8% 0.126 109.8)
XYZxyz(27.9568, 33.2496, 8.6857)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A138 #3938A1
analogous
#A16D38 #A0A138 #6CA138
triadic
#A0A138 #38A0A1 #A138A0
tetradic
#A0A138 #38A16D #3938A1 #A1386C
square
#A0A138 #38A16D #3938A1 #A1386C
split-complementary
#A0A138 #386CA1 #6D38A1
monochromatic
#464618 #737428 #A0A138 #C2C353 #D2D380

Accessibility & contrast

On white

2.75
#A0A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A0A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A138
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A138#FFFFFF#000000##000000
##A0A1381.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A2A
Deuteranopia (green-blind)
#AF9E3F
Tritanopia (blue-blind)
#AB978B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a0a138;
/* rgb */ color: rgb(160, 161, 56);
/* oklch */ color: oklch(68.8% 0.126 109.8);
Tailwind
colors: {
  custom: {
    50: '#bfbc74',
    500: '#a0a138',
    950: '#000000',
  },
}
SCSS
$custom: #a0a138;
$custom-light: #bfbc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a138",
  "rgb": {
    "r": 160,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 60.571,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.688,
    "c": 0.12601,
    "h": 109.8
  },
  "luminance": 0.33249
}

Semantic roles & 50–950 ramp

primary
#A0A138
secondary
#7978BC
accent
#50D851
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A0A138

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

Preview Lab → · Contrast checker → · Palette generator →

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