#A7A338#A7A338

#A7A338 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.127 H 107.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A7A338
RGBrgb(167, 163, 56)
HSLhsl(58, 50%, 44%)
HSVhsv(58, 66%, 65%)
CMYKcmyk(0%, 2.4%, 66.5%, 34.5%)
CIE-LABlab(65.51, -11.87, 53.84)
CIE-LCHlch(65.51, 55.13, 102.43°)
OKLaboklab(69.86% -0.0375 0.1212)
OKLCHoklch(69.86% 0.127 107.2)
XYZxyz(29.7484, 34.6964, 8.8707)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A338 #383CA7
analogous
#A76B38 #A7A338 #73A738
triadic
#A7A338 #38A7A3 #A338A7
tetradic
#A7A338 #38A76B #383CA7 #A73873
square
#A7A338 #38A76B #383CA7 #A73873
split-complementary
#A7A338 #3873A7 #6B38A7
monochromatic
#4B4A19 #797629 #A7A338 #C6C256 #D6D384

Accessibility & contrast

On white

2.65
#A7A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A7A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A338
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A338#FFFFFF#000000##000000
##A7A3381.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D29
Deuteranopia (green-blind)
#B3A13F
Tritanopia (blue-blind)
#B3998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a338;
/* rgb */ color: rgb(167, 163, 56);
/* oklch */ color: oklch(69.9% 0.127 107.2);
Tailwind
colors: {
  custom: {
    50: '#c4be75',
    500: '#a7a338',
    950: '#000000',
  },
}
SCSS
$custom: #a7a338;
$custom-light: #c4be75;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a338",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 57.838,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6986,
    "c": 0.12691,
    "h": 107.2
  },
  "luminance": 0.34695
}

Semantic roles & 50–950 ramp

primary
#A7A338
secondary
#7B7EBF
accent
#54D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A7A338

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

Preview Lab → · Contrast checker → · Palette generator →

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