#A2B03F#A2B03F

#A2B03F is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.4% C 0.137 H 115.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#A2B03F
RGBrgb(162, 176, 63)
HSLhsl(67, 47%, 47%)
HSVhsv(67, 64%, 69%)
CMYKcmyk(8%, 0%, 64.2%, 31%)
CIE-LABlab(68.82, -20.23, 54.24)
CIE-LCHlch(68.82, 57.89, 110.45°)
OKLaboklab(72.42% -0.06 0.1233)
OKLCHoklch(72.42% 0.137 115.9)
XYZxyz(31.3235, 39.0914, 10.5969)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B03F #4D3FB0
analogous
#B0863F #A2B03F #69B03F
triadic
#A2B03F #3FA2B0 #B03FA2
tetradic
#A2B03F #3FB086 #4D3FB0 #B03F69
square
#A2B03F #3FB086 #4D3FB0 #B03F69
split-complementary
#A2B03F #3F69B0 #863FB0
monochromatic
#4F561F #79832F #A2B03F #BBC865 #CFD892

Accessibility & contrast

On white

2.38
#A2B03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#A2B03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B03F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B03F#FFFFFF#000000##000000
##A2B03F1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA730
Deuteranopia (green-blind)
#BBA947
Tritanopia (blue-blind)
#ACA699
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b03f;
/* rgb */ color: rgb(162, 176, 63);
/* oklch */ color: oklch(72.4% 0.137 115.9);
Tailwind
colors: {
  custom: {
    50: '#c0c77a',
    500: '#a2b03f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b03f;
$custom-light: #c0c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b03f",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 67.434,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72422,
    "c": 0.13711,
    "h": 115.9
  },
  "luminance": 0.39091
}

Semantic roles & 50–950 ramp

primary
#A2B03F
secondary
#8F88C3
accent
#51D762
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B03F

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

Preview Lab → · Contrast checker → · Palette generator →

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