#AFC146#AFC146

#AFC146 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.148 H 117.1°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#AFC146
RGBrgb(175, 193, 70)
HSLhsl(69, 50%, 52%)
HSVhsv(69, 64%, 76%)
CMYKcmyk(9.3%, 0%, 63.7%, 24.3%)
CIE-LABlab(74.63, -22.79, 57.77)
CIE-LCHlch(74.63, 62.10, 111.53°)
OKLaboklab(77.35% -0.0672 0.1315)
OKLCHoklch(77.35% 0.148 117.1)
XYZxyz(37.8554, 47.6965, 13.0053)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC146 #5846C1
analogous
#C19546 #AFC146 #72C146
triadic
#AFC146 #46AFC1 #C146AF
tetradic
#AFC146 #46C195 #5846C1 #C14672
square
#AFC146 #46C195 #5846C1 #C14672
split-complementary
#AFC146 #4672C1 #9546C1
monochromatic
#5F6923 #889733 #AFC146 #C3D074 #D7E0A2

Accessibility & contrast

On white

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

On black

10.54
#AFC146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC146
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC146#FFFFFF#000000##000000
##AFC1461.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc146;
/* rgb */ color: rgb(175, 193, 70);
/* oklch */ color: oklch(77.3% 0.148 117.1);
Tailwind
colors: {
  custom: {
    50: '#cad37f',
    500: '#afc146',
    950: '#000000',
  },
}
SCSS
$custom: #afc146;
$custom-light: #cad37f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc146",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 68.78,
    "s": 49.798,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77348,
    "c": 0.14763,
    "h": 117.1
  },
  "luminance": 0.47696
}

Semantic roles & 50–950 ramp

primary
#AFC146
secondary
#9E96CC
accent
#4ED963
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC146

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

Preview Lab → · Contrast checker → · Palette generator →

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