#A0B340#A0B340

#A0B340 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.141 H 118.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#A0B340
RGBrgb(160, 179, 64)
HSLhsl(70, 47%, 48%)
HSVhsv(70, 64%, 70%)
CMYKcmyk(10.6%, 0%, 64.2%, 29.8%)
CIE-LABlab(69.53, -22.49, 54.53)
CIE-LCHlch(69.53, 58.98, 112.41°)
OKLaboklab(72.96% -0.0661 0.1241)
OKLCHoklch(72.96% 0.141 118)
XYZxyz(31.5433, 40.0842, 10.9248)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B340 #5340B3
analogous
#B38C40 #A0B340 #66B340
triadic
#A0B340 #40A0B3 #B340A0
tetradic
#A0B340 #40B38C #5340B3 #B34066
square
#A0B340 #40B38C #5340B3 #B34066
split-complementary
#A0B340 #4066B3 #8C40B3
monochromatic
#4F5920 #788630 #A0B340 #B9C967 #CED994

Accessibility & contrast

On white

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

On black

9.02
#A0B340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B340
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B340#FFFFFF#000000##000000
##A0B3401.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA31
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#A9AA9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a0b340;
/* rgb */ color: rgb(160, 179, 64);
/* oklch */ color: oklch(73.0% 0.141 118.0);
Tailwind
colors: {
  custom: {
    50: '#bfc97a',
    500: '#a0b340',
    950: '#000000',
  },
}
SCSS
$custom: #a0b340;
$custom-light: #bfc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b340",
  "rgb": {
    "r": 160,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 69.913,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72959,
    "c": 0.14059,
    "h": 118
  },
  "luminance": 0.40084
}

Semantic roles & 50–950 ramp

primary
#A0B340
secondary
#948AC4
accent
#51D767
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A0B340

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

Preview Lab → · Contrast checker → · Palette generator →

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