#A3B338#A3B338

#A3B338 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.145 H 116.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A3B338
RGBrgb(163, 179, 56)
HSLhsl(68, 52%, 46%)
HSVhsv(68, 69%, 70%)
CMYKcmyk(8.9%, 0%, 68.7%, 29.8%)
CIE-LABlab(69.69, -21.75, 58.00)
CIE-LCHlch(69.69, 61.94, 110.55°)
OKLaboklab(73.13% -0.065 0.1301)
OKLCHoklch(73.13% 0.145 116.5)
XYZxyz(31.9389, 40.3127, 9.8392)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B338 #4838B3
analogous
#B38538 #A3B338 #65B338
triadic
#A3B338 #38A3B3 #B338A3
tetradic
#A3B338 #38B385 #4838B3 #B33865
square
#A3B338 #38B385 #4838B3 #B33865
split-complementary
#A3B338 #3865B3 #8538B3
monochromatic
#4E561B #798429 #A3B338 #BDCC5C #D0DB8B

Accessibility & contrast

On white

2.32
#A3B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A3B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3B338
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3B338#FFFFFF#000000##000000
##A3B3381.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#BEAB41
Tritanopia (blue-blind)
#ADA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a3b338;
/* rgb */ color: rgb(163, 179, 56);
/* oklch */ color: oklch(73.1% 0.145 116.5);
Tailwind
colors: {
  custom: {
    50: '#c1c976',
    500: '#a3b338',
    950: '#000000',
  },
}
SCSS
$custom: #a3b338;
$custom-light: #c1c976;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b338",
  "rgb": {
    "r": 163,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 67.805,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73126,
    "c": 0.14542,
    "h": 116.5
  },
  "luminance": 0.40312
}

Semantic roles & 50–950 ramp

primary
#A3B338
secondary
#8B82C5
accent
#4CDC5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A3B338

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

Preview Lab → · Contrast checker → · Palette generator →

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