#AFC154#AFC154

#AFC154 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.5% C 0.136 H 117.5°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#AFC154
RGBrgb(175, 193, 84)
HSLhsl(70, 47%, 54%)
HSVhsv(70, 56%, 76%)
CMYKcmyk(9.3%, 0%, 56.5%, 24.3%)
CIE-LABlab(74.76, -21.73, 51.80)
CIE-LCHlch(74.76, 56.18, 112.76°)
OKLaboklab(77.49% -0.0628 0.1205)
OKLCHoklch(77.49% 0.136 117.5)
XYZxyz(38.3500, 47.8943, 15.6100)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC154 #6654C1
analogous
#C19D54 #AFC154 #79C154
triadic
#AFC154 #54AFC1 #C154AF
tetradic
#AFC154 #54C19D #6654C1 #C15479
square
#AFC154 #54C19D #6654C1 #C15479
split-complementary
#AFC154 #5479C1 #9D54C1
monochromatic
#667129 #8E9E39 #AFC154 #C4D181 #D9E2AE

Accessibility & contrast

On white

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

On black

10.58
#AFC154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC154
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC154#FFFFFF#000000##000000
##AFC1541.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB849
Deuteranopia (green-blind)
#CBB95B
Tritanopia (blue-blind)
#B8B7A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc154;
/* rgb */ color: rgb(175, 193, 84);
/* oklch */ color: oklch(77.5% 0.136 117.5);
Tailwind
colors: {
  custom: {
    50: '#c9d388',
    500: '#afc154',
    950: '#000000',
  },
}
SCSS
$custom: #afc154;
$custom-light: #c9d388;
$custom-dark: #000000;
JSON
{
  "hex": "#afc154",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 69.908,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77489,
    "c": 0.13593,
    "h": 117.5
  },
  "luminance": 0.47894
}

Semantic roles & 50–950 ramp

primary
#AFC154
secondary
#A9A1D0
accent
#51D667
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC154

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

Preview Lab → · Contrast checker → · Palette generator →

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