#AFB435#AFB435

#AFB435 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.3% C 0.145 H 111.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#AFB435
RGBrgb(175, 180, 53)
HSLhsl(62, 55%, 46%)
HSVhsv(62, 71%, 71%)
CMYKcmyk(2.8%, 0%, 70.6%, 29.4%)
CIE-LABlab(70.88, -17.32, 60.62)
CIE-LCHlch(70.88, 63.04, 105.95°)
OKLaboklab(74.3% -0.0536 0.1348)
OKLCHoklch(74.3% 0.145 111.7)
XYZxyz(34.6442, 42.0144, 9.6521)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB435 #3A35B4
analogous
#B47935 #AFB435 #6FB435
triadic
#AFB435 #35AFB4 #B435AF
tetradic
#AFB435 #35B479 #3A35B4 #B4356F
square
#AFB435 #35B479 #3A35B4 #B4356F
split-complementary
#AFB435 #356FB4 #7935B4
monochromatic
#535519 #818527 #AFB435 #C9CE58 #D9DC88

Accessibility & contrast

On white

2.23
#AFB435 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#AFB435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB435
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB435#FFFFFF#000000##000000
##AFB4351.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1F
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#BBA99B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb435;
/* rgb */ color: rgb(175, 180, 53);
/* oklch */ color: oklch(74.3% 0.145 111.7);
Tailwind
colors: {
  custom: {
    50: '#caca75',
    500: '#afb435',
    950: '#000000',
  },
}
SCSS
$custom: #afb435;
$custom-light: #caca75;
$custom-dark: #000000;
JSON
{
  "hex": "#afb435",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 53
  },
  "hsl": {
    "h": 62.362,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74302,
    "c": 0.14506,
    "h": 111.7
  },
  "luminance": 0.42014
}

Semantic roles & 50–950 ramp

primary
#AFB435
secondary
#827FC6
accent
#4ADE50
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB435

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

Preview Lab → · Contrast checker → · Palette generator →

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