#AFB635#AFB635

#AFB635 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.7% C 0.147 H 112.5°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#AFB635
RGBrgb(175, 182, 53)
HSLhsl(63, 55%, 46%)
HSVhsv(63, 71%, 71%)
CMYKcmyk(3.8%, 0%, 70.9%, 28.6%)
CIE-LABlab(71.44, -18.33, 61.16)
CIE-LCHlch(71.44, 63.85, 106.68°)
OKLaboklab(74.75% -0.0564 0.1359)
OKLCHoklch(74.75% 0.147 112.5)
XYZxyz(35.0508, 42.8277, 9.7876)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB635 #3C35B6
analogous
#B67C35 #AFB635 #6EB635
triadic
#AFB635 #35AFB6 #B635AF
tetradic
#AFB635 #35B67C #3C35B6 #B6356E
square
#AFB635 #35B67C #3C35B6 #B6356E
split-complementary
#AFB635 #356EB6 #7C35B6
monochromatic
#545719 #818727 #AFB635 #C8CF59 #D8DD89

Accessibility & contrast

On white

2.20
#AFB635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#AFB635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB635
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB635#FFFFFF#000000##000000
##AFB6351.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD1E
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#BBAB9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb635;
/* rgb */ color: rgb(175, 182, 53);
/* oklch */ color: oklch(74.7% 0.147 112.5);
Tailwind
colors: {
  custom: {
    50: '#cacb75',
    500: '#afb635',
    950: '#000000',
  },
}
SCSS
$custom: #afb635;
$custom-light: #cacb75;
$custom-dark: #000000;
JSON
{
  "hex": "#afb635",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 53
  },
  "hsl": {
    "h": 63.256,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74748,
    "c": 0.14718,
    "h": 112.5
  },
  "luminance": 0.42827
}

Semantic roles & 50–950 ramp

primary
#AFB635
secondary
#8480C7
accent
#4ADE52
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB635

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

Preview Lab → · Contrast checker → · Palette generator →

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