#AFB735#AFB735

#AFB735 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.0% C 0.148 H 113.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#AFB735
RGBrgb(175, 183, 53)
HSLhsl(64, 55%, 46%)
HSVhsv(64, 71%, 72%)
CMYKcmyk(4.4%, 0%, 71%, 28.2%)
CIE-LABlab(71.72, -18.83, 61.43)
CIE-LCHlch(71.72, 64.26, 107.04°)
OKLaboklab(74.97% -0.0578 0.1365)
OKLCHoklch(74.97% 0.148 113)
XYZxyz(35.2563, 43.2387, 9.8562)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB735 #3D35B7
analogous
#B77E35 #AFB735 #6EB735
triadic
#AFB735 #35AFB7 #B735AF
tetradic
#AFB735 #35B77E #3D35B7 #B7356E
square
#AFB735 #35B77E #3D35B7 #B7356E
split-complementary
#AFB735 #356EB7 #7E35B7
monochromatic
#54581A #828827 #AFB735 #C8CF5A #D8DD89

Accessibility & contrast

On white

2.18
#AFB735 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#AFB735 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB735
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB735#FFFFFF#000000##000000
##AFB7351.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE1E
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#BBAC9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb735;
/* rgb */ color: rgb(175, 183, 53);
/* oklch */ color: oklch(75.0% 0.148 113.0);
Tailwind
colors: {
  custom: {
    50: '#cacc75',
    500: '#afb735',
    950: '#000000',
  },
}
SCSS
$custom: #afb735;
$custom-light: #cacc75;
$custom-dark: #000000;
JSON
{
  "hex": "#afb735",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 53
  },
  "hsl": {
    "h": 63.692,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74971,
    "c": 0.14825,
    "h": 113
  },
  "luminance": 0.43238
}

Semantic roles & 50–950 ramp

primary
#AFB735
secondary
#8581C7
accent
#49DE53
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB735

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

Preview Lab → · Contrast checker → · Palette generator →

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