#AFC149#AFC149

#AFC149 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.145 H 117.2°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#AFC149
RGBrgb(175, 193, 73)
HSLhsl(69, 49%, 52%)
HSVhsv(69, 62%, 76%)
CMYKcmyk(9.3%, 0%, 62.2%, 24.3%)
CIE-LABlab(74.66, -22.58, 56.54)
CIE-LCHlch(74.66, 60.88, 111.77°)
OKLaboklab(77.38% -0.0663 0.1293)
OKLCHoklch(77.38% 0.145 117.2)
XYZxyz(37.9525, 47.7353, 13.5165)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC149 #5B49C1
analogous
#C19749 #AFC149 #73C149
triadic
#AFC149 #49AFC1 #C149AF
tetradic
#AFC149 #49C197 #5B49C1 #C14973
square
#AFC149 #49C197 #5B49C1 #C14973
split-complementary
#AFC149 #4973C1 #9749C1
monochromatic
#616B24 #8A9934 #AFC149 #C3D177 #D7E0A4

Accessibility & contrast

On white

1.99
#AFC149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#AFC149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC149
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC149#FFFFFF#000000##000000
##AFC1491.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73A
Deuteranopia (green-blind)
#CCB851
Tritanopia (blue-blind)
#B9B7A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc149;
/* rgb */ color: rgb(175, 193, 73);
/* oklch */ color: oklch(77.4% 0.145 117.2);
Tailwind
colors: {
  custom: {
    50: '#cad381',
    500: '#afc149',
    950: '#000000',
  },
}
SCSS
$custom: #afc149;
$custom-light: #cad381;
$custom-dark: #000000;
JSON
{
  "hex": "#afc149",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 69,
    "s": 49.18,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77376,
    "c": 0.14528,
    "h": 117.2
  },
  "luminance": 0.47735
}

Semantic roles & 50–950 ramp

primary
#AFC149
secondary
#A199CD
accent
#4FD964
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #AFC149

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

Preview Lab → · Contrast checker → · Palette generator →

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