#A8A234#A8A234

#A8A234 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.129 H 106.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A8A234
RGBrgb(168, 162, 52)
HSLhsl(57, 53%, 43%)
HSVhsv(57, 69%, 66%)
CMYKcmyk(0%, 3.6%, 69%, 34.1%)
CIE-LABlab(65.29, -11.13, 55.26)
CIE-LCHlch(65.29, 56.37, 101.39°)
OKLaboklab(69.69% -0.0359 0.1236)
OKLCHoklch(69.69% 0.129 106.2)
XYZxyz(29.6897, 34.4145, 8.3269)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A234 #343AA8
analogous
#A86834 #A8A234 #74A834
triadic
#A8A234 #34A8A2 #A234A8
tetradic
#A8A234 #34A868 #343AA8 #A83474
square
#A8A234 #34A868 #343AA8 #A83474
split-complementary
#A8A234 #3474A8 #6834A8
monochromatic
#4B4817 #797526 #A8A234 #C9C350 #D7D37F

Accessibility & contrast

On white

2.66
#A8A234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A8A234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A234
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A234#FFFFFF#000000##000000
##A8A2341.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C23
Deuteranopia (green-blind)
#B2A13B
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a234;
/* rgb */ color: rgb(168, 162, 52);
/* oklch */ color: oklch(69.7% 0.129 106.2);
Tailwind
colors: {
  custom: {
    50: '#c5bd72',
    500: '#a8a234',
    950: '#000000',
  },
}
SCSS
$custom: #a8a234;
$custom-light: #c5bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a234",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 56.897,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69695,
    "c": 0.12867,
    "h": 106.2
  },
  "luminance": 0.34413
}

Semantic roles & 50–950 ramp

primary
#A8A234
secondary
#777BC0
accent
#53DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A234

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

Preview Lab → · Contrast checker → · Palette generator →

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