#AFB035#AFB035

#AFB035 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.4% C 0.141 H 109.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#AFB035
RGBrgb(175, 176, 53)
HSLhsl(60, 54%, 45%)
HSVhsv(60, 70%, 69%)
CMYKcmyk(0.6%, 0%, 69.9%, 31%)
CIE-LABlab(69.77, -15.29, 59.53)
CIE-LCHlch(69.77, 61.46, 104.40°)
OKLaboklab(73.41% -0.0479 0.1325)
OKLCHoklch(73.41% 0.141 109.9)
XYZxyz(33.8483, 40.4226, 9.3868)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB035 #3635B0
analogous
#B07435 #AFB035 #71B035
triadic
#AFB035 #35AFB0 #B035AF
tetradic
#AFB035 #35B074 #3635B0 #B03571
square
#AFB035 #35B074 #3635B0 #B03571
split-complementary
#AFB035 #3571B0 #7435B0
monochromatic
#515219 #808127 #AFB035 #CBCC56 #DADA85

Accessibility & contrast

On white

2.31
#AFB035 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#AFB035 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB035
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB035#FFFFFF#000000##000000
##AFB0351.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA821
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#BBA598
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afb035;
/* rgb */ color: rgb(175, 176, 53);
/* oklch */ color: oklch(73.4% 0.141 109.9);
Tailwind
colors: {
  custom: {
    50: '#cac774',
    500: '#afb035',
    950: '#000000',
  },
}
SCSS
$custom: #afb035;
$custom-light: #cac774;
$custom-dark: #000000;
JSON
{
  "hex": "#afb035",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 53
  },
  "hsl": {
    "h": 60.488,
    "s": 53.712,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73414,
    "c": 0.14089,
    "h": 109.9
  },
  "luminance": 0.40422
}

Semantic roles & 50–950 ramp

primary
#AFB035
secondary
#7D7DC4
accent
#4BDD4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB035

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

Preview Lab → · Contrast checker → · Palette generator →

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