#AFC43F#AFC43F

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

Color values

HEX#AFC43F
RGBrgb(175, 196, 63)
HSLhsl(69, 53%, 51%)
HSVhsv(69, 68%, 77%)
CMYKcmyk(10.7%, 0%, 67.9%, 23.1%)
CIE-LABlab(75.42, -24.70, 61.38)
CIE-LCHlch(75.42, 66.17, 111.92°)
OKLaboklab(77.96% -0.0732 0.138)
OKLCHoklch(77.96% 0.156 117.9)
XYZxyz(38.3171, 48.9531, 12.1320)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC43F #543FC4
analogous
#C4973F #AFC43F #6CC43F
triadic
#AFC43F #3FAFC4 #C43FAF
tetradic
#AFC43F #3FC497 #543FC4 #C43F6C
square
#AFC43F #3FC497 #543FC4 #C43F6C
split-complementary
#AFC43F #3F6CC4 #973FC4
monochromatic
#5D6820 #87972E #AFC43F #C3D26E #D6E19D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC43F#FFFFFF#000000##000000
##AFC43F1.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)
#D1B92B
Deuteranopia (green-blind)
#CFBA49
Tritanopia (blue-blind)
#B9B9A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc43f;
/* rgb */ color: rgb(175, 196, 63);
/* oklch */ color: oklch(78.0% 0.156 117.9);
Tailwind
colors: {
  custom: {
    50: '#cad57c',
    500: '#afc43f',
    950: '#000000',
  },
}
SCSS
$custom: #afc43f;
$custom-light: #cad57c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc43f",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 63
  },
  "hsl": {
    "h": 69.474,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77965,
    "c": 0.15623,
    "h": 117.9
  },
  "luminance": 0.48953
}

Semantic roles & 50–950 ramp

primary
#AFC43F
secondary
#9B92CD
accent
#4BDC62
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC43F

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

Preview Lab → · Contrast checker → · Palette generator →

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