#AFC43D#AFC43D

#AFC43D is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.0% C 0.158 H 117.9°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#AFC43D
RGBrgb(175, 196, 61)
HSLhsl(69, 53%, 50%)
HSVhsv(69, 69%, 77%)
CMYKcmyk(10.7%, 0%, 68.9%, 23.1%)
CIE-LABlab(75.41, -24.81, 62.13)
CIE-LCHlch(75.41, 66.90, 111.77°)
OKLaboklab(77.95% -0.0737 0.1393)
OKLCHoklch(77.95% 0.158 117.9)
XYZxyz(38.2622, 48.9311, 11.8430)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC43D #523DC4
analogous
#C4953D #AFC43D #6CC43D
triadic
#AFC43D #3DAFC4 #C43DAF
tetradic
#AFC43D #3DC495 #523DC4 #C43D6C
square
#AFC43D #3DC495 #523DC4 #C43D6C
split-complementary
#AFC43D #3D6CC4 #953DC4
monochromatic
#5C671F #86962E #AFC43D #C2D26C #D6E19B

Accessibility & contrast

On white

1.95
#AFC43D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#AFC43D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC43D
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC43D#FFFFFF#000000##000000
##AFC43D1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B928
Deuteranopia (green-blind)
#CFBA47
Tritanopia (blue-blind)
#B9B9A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc43d;
/* rgb */ color: rgb(175, 196, 61);
/* oklch */ color: oklch(78.0% 0.158 117.9);
Tailwind
colors: {
  custom: {
    50: '#cad57b',
    500: '#afc43d',
    950: '#000000',
  },
}
SCSS
$custom: #afc43d;
$custom-light: #cad57b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc43d",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 61
  },
  "hsl": {
    "h": 69.333,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7795,
    "c": 0.15759,
    "h": 117.9
  },
  "luminance": 0.48931
}

Semantic roles & 50–950 ramp

primary
#AFC43D
secondary
#9A90CD
accent
#4BDD62
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC43D

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

Preview Lab → · Contrast checker → · Palette generator →

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