#AFA735#AFA735

#AFA735 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.132 H 105.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AFA735
RGBrgb(175, 167, 53)
HSLhsl(56, 54%, 45%)
HSVhsv(56, 70%, 69%)
CMYKcmyk(0%, 4.6%, 69.7%, 31.4%)
CIE-LABlab(67.28, -10.64, 57.06)
CIE-LCHlch(67.28, 58.05, 100.56°)
OKLaboklab(71.43% -0.0348 0.1273)
OKLCHoklch(71.43% 0.132 105.3)
XYZxyz(32.1418, 37.0096, 8.8180)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA735 #353DAF
analogous
#AF6A35 #AFA735 #7AAF35
triadic
#AFA735 #35AFA7 #A735AF
tetradic
#AFA735 #35AF6A #353DAF #AF357A
square
#AFA735 #35AF6A #353DAF #AF357A
split-complementary
#AFA735 #357AAF #6A35AF
monochromatic
#514D19 #807A27 #AFA735 #CCC456 #DAD485

Accessibility & contrast

On white

2.50
#AFA735 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#AFA735 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA735
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA735#FFFFFF#000000##000000
##AFA7351.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A123
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#BC9C90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa735;
/* rgb */ color: rgb(175, 167, 53);
/* oklch */ color: oklch(71.4% 0.132 105.3);
Tailwind
colors: {
  custom: {
    50: '#cac073',
    500: '#afa735',
    950: '#000000',
  },
}
SCSS
$custom: #afa735;
$custom-light: #cac073;
$custom-dark: #000000;
JSON
{
  "hex": "#afa735",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 53
  },
  "hsl": {
    "h": 56.066,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71432,
    "c": 0.13197,
    "h": 105.3
  },
  "luminance": 0.37008
}

Semantic roles & 50–950 ramp

primary
#AFA735
secondary
#7C81C4
accent
#54DD4B
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA735

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

Preview Lab → · Contrast checker → · Palette generator →

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