#AFC244#AFC244

#AFC244 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.6% C 0.150 H 117.4°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#AFC244
RGBrgb(175, 194, 68)
HSLhsl(69, 51%, 51%)
HSVhsv(69, 65%, 76%)
CMYKcmyk(9.8%, 0%, 64.9%, 23.9%)
CIE-LABlab(74.90, -23.41, 58.87)
CIE-LCHlch(74.90, 63.35, 111.69°)
OKLaboklab(77.55% -0.0691 0.1335)
OKLCHoklch(77.55% 0.15 117.4)
XYZxyz(38.0151, 48.1153, 12.7523)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC244 #5744C2
analogous
#C29644 #AFC244 #70C244
triadic
#AFC244 #44AFC2 #C244AF
tetradic
#AFC244 #44C296 #5744C2 #C24470
square
#AFC244 #44C296 #5744C2 #C24470
split-complementary
#AFC244 #4470C2 #9644C2
monochromatic
#5F6922 #889731 #AFC244 #C3D172 #D6E0A0

Accessibility & contrast

On white

1.98
#AFC244 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#AFC244 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC244
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC244#FFFFFF#000000##000000
##AFC2441.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB833
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#B9B8A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc244;
/* rgb */ color: rgb(175, 194, 68);
/* oklch */ color: oklch(77.6% 0.150 117.4);
Tailwind
colors: {
  custom: {
    50: '#cad47e',
    500: '#afc244',
    950: '#000000',
  },
}
SCSS
$custom: #afc244;
$custom-light: #cad47e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc244",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 68
  },
  "hsl": {
    "h": 69.048,
    "s": 50.806,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77555,
    "c": 0.15032,
    "h": 117.4
  },
  "luminance": 0.48115
}

Semantic roles & 50–950 ramp

primary
#AFC244
secondary
#9E95CD
accent
#4EDA63
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC244

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

Preview Lab → · Contrast checker → · Palette generator →

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