#AFC145#AFC145

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

Color values

HEX#AFC145
RGBrgb(175, 193, 69)
HSLhsl(69, 50%, 51%)
HSVhsv(69, 64%, 76%)
CMYKcmyk(9.3%, 0%, 64.2%, 24.3%)
CIE-LABlab(74.63, -22.85, 58.17)
CIE-LCHlch(74.63, 62.50, 111.45°)
OKLaboklab(77.34% -0.0675 0.1322)
OKLCHoklch(77.34% 0.148 117)
XYZxyz(37.8241, 47.6840, 12.8404)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC145 #5745C1
analogous
#C19545 #AFC145 #71C145
triadic
#AFC145 #45AFC1 #C145AF
tetradic
#AFC145 #45C195 #5745C1 #C14571
square
#AFC145 #45C195 #5745C1 #C14571
split-complementary
#AFC145 #4571C1 #9545C1
monochromatic
#5F6923 #889732 #AFC145 #C3D073 #D6E0A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC145#FFFFFF#000000##000000
##AFC1451.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)
#CEB735
Deuteranopia (green-blind)
#CCB84E
Tritanopia (blue-blind)
#B9B7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc145;
/* rgb */ color: rgb(175, 193, 69);
/* oklch */ color: oklch(77.3% 0.148 117.0);
Tailwind
colors: {
  custom: {
    50: '#cad37f',
    500: '#afc145',
    950: '#000000',
  },
}
SCSS
$custom: #afc145;
$custom-light: #cad37f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc145",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 68.71,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77339,
    "c": 0.14839,
    "h": 117
  },
  "luminance": 0.47684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC145

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

Preview Lab → · Contrast checker → · Palette generator →

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