#A7A233#A7A233

#A7A233 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.129 H 106.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A7A233
RGBrgb(167, 162, 51)
HSLhsl(57, 53%, 43%)
HSVhsv(57, 69%, 65%)
CMYKcmyk(0%, 3%, 69.5%, 34.5%)
CIE-LABlab(65.20, -11.63, 55.54)
CIE-LCHlch(65.20, 56.74, 101.83°)
OKLaboklab(69.6% -0.0374 0.124)
OKLCHoklch(69.6% 0.129 106.8)
XYZxyz(29.4553, 34.2962, 8.1996)
Luminance0.3429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A233 #3338A7
analogous
#A76833 #A7A233 #72A733
triadic
#A7A233 #33A7A2 #A233A7
tetradic
#A7A233 #33A768 #3338A7 #A73372
square
#A7A233 #33A768 #3338A7 #A73372
split-complementary
#A7A233 #3372A7 #6833A7
monochromatic
#494716 #787525 #A7A233 #C9C44E #D7D37D

Accessibility & contrast

On white

2.67
#A7A233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A7A233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A233
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A233#FFFFFF#000000##000000
##A7A2331.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C22
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#B3978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a7a233;
/* rgb */ color: rgb(167, 162, 51);
/* oklch */ color: oklch(69.6% 0.129 106.8);
Tailwind
colors: {
  custom: {
    50: '#c4bd72',
    500: '#a7a233',
    950: '#000000',
  },
}
SCSS
$custom: #a7a233;
$custom-light: #c4bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a233",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 57.414,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69598,
    "c": 0.12949,
    "h": 106.8
  },
  "luminance": 0.34295
}

Semantic roles & 50–950 ramp

primary
#A7A233
secondary
#7679C0
accent
#51DD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A233

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

Preview Lab → · Contrast checker → · Palette generator →

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