#AFA13A#AFA13A

#AFA13A is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.123 H 101.5°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#AFA13A
RGBrgb(175, 161, 58)
HSLhsl(53, 50%, 46%)
HSVhsv(53, 67%, 69%)
CMYKcmyk(0%, 8%, 66.9%, 31.4%)
CIE-LABlab(65.68, -7.19, 53.39)
CIE-LCHlch(65.68, 53.87, 97.67°)
OKLaboklab(70.17% -0.0245 0.1204)
OKLCHoklch(70.17% 0.123 101.5)
XYZxyz(31.1891, 34.9105, 9.0977)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA13A #3A48AF
analogous
#AF673A #AFA13A #82AF3A
triadic
#AFA13A #3AAFA1 #A13AAF
tetradic
#AFA13A #3AAF67 #3A48AF #AF3A82
square
#AFA13A #3AAF67 #3A48AF #AF3A82
split-complementary
#AFA13A #3A82AF #673AAF
monochromatic
#534C1C #81772B #AFA13A #C9BC5D #D9CF8B

Accessibility & contrast

On white

2.63
#AFA13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#AFA13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA13A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA13A#FFFFFF#000000##000000
##AFA13A1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2C
Deuteranopia (green-blind)
#B4A240
Tritanopia (blue-blind)
#BC968C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa13a;
/* rgb */ color: rgb(175, 161, 58);
/* oklch */ color: oklch(70.2% 0.123 101.5);
Tailwind
colors: {
  custom: {
    50: '#cabc76',
    500: '#afa13a',
    950: '#000000',
  },
}
SCSS
$custom: #afa13a;
$custom-light: #cabc76;
$custom-dark: #000000;
JSON
{
  "hex": "#afa13a",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 58
  },
  "hsl": {
    "h": 52.821,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70167,
    "c": 0.12286,
    "h": 101.5
  },
  "luminance": 0.34909
}

Semantic roles & 50–950 ramp

primary
#AFA13A
secondary
#828AC3
accent
#5FDA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA13A

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

Preview Lab → · Contrast checker → · Palette generator →

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