#A0B240#A0B240

#A0B240 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.139 H 117.6°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#A0B240
RGBrgb(160, 178, 64)
HSLhsl(69, 47%, 47%)
HSVhsv(69, 64%, 70%)
CMYKcmyk(10.1%, 0%, 64%, 30.2%)
CIE-LABlab(69.24, -21.99, 54.23)
CIE-LCHlch(69.24, 58.52, 112.08°)
OKLaboklab(72.73% -0.0647 0.1235)
OKLCHoklch(72.73% 0.139 117.6)
XYZxyz(31.3436, 39.6848, 10.8582)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B240 #5240B2
analogous
#B28B40 #A0B240 #67B240
triadic
#A0B240 #40A0B2 #B240A0
tetradic
#A0B240 #40B28B #5240B2 #B24067
square
#A0B240 #40B28B #5240B2 #B24067
split-complementary
#A0B240 #4067B2 #8B40B2
monochromatic
#4F5820 #788530 #A0B240 #B9C867 #CED894

Accessibility & contrast

On white

2.35
#A0B240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#A0B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B240
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B240#FFFFFF#000000##000000
##A0B2401.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA931
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#A9A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b240;
/* rgb */ color: rgb(160, 178, 64);
/* oklch */ color: oklch(72.7% 0.139 117.6);
Tailwind
colors: {
  custom: {
    50: '#bfc97a',
    500: '#a0b240',
    950: '#000000',
  },
}
SCSS
$custom: #a0b240;
$custom-light: #bfc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b240",
  "rgb": {
    "r": 160,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 69.474,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.13938,
    "h": 117.6
  },
  "luminance": 0.39685
}

Semantic roles & 50–950 ramp

primary
#A0B240
secondary
#938AC4
accent
#51D766
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A0B240

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

Preview Lab → · Contrast checker → · Palette generator →

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