#AFC150#AFC150

#AFC150 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.4% C 0.139 H 117.4°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#AFC150
RGBrgb(175, 193, 80)
HSLhsl(70, 48%, 54%)
HSVhsv(70, 59%, 76%)
CMYKcmyk(9.3%, 0%, 58.5%, 24.3%)
CIE-LABlab(74.72, -22.05, 53.56)
CIE-LCHlch(74.72, 57.92, 112.38°)
OKLaboklab(77.44% -0.0641 0.1238)
OKLCHoklch(77.44% 0.139 117.4)
XYZxyz(38.1978, 47.8335, 14.8084)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC150 #6250C1
analogous
#C19A50 #AFC150 #76C150
triadic
#AFC150 #50AFC1 #C150AF
tetradic
#AFC150 #50C19A #6250C1 #C15076
square
#AFC150 #50C19A #6250C1 #C15076
split-complementary
#AFC150 #5076C1 #9A50C1
monochromatic
#646F27 #8C9C37 #AFC150 #C4D17D #D8E1AA

Accessibility & contrast

On white

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

On black

10.57
#AFC150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC150
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC150#FFFFFF#000000##000000
##AFC1501.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB744
Deuteranopia (green-blind)
#CBB957
Tritanopia (blue-blind)
#B9B7A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc150;
/* rgb */ color: rgb(175, 193, 80);
/* oklch */ color: oklch(77.4% 0.139 117.4);
Tailwind
colors: {
  custom: {
    50: '#c9d385',
    500: '#afc150',
    950: '#000000',
  },
}
SCSS
$custom: #afc150;
$custom-light: #c9d385;
$custom-dark: #000000;
JSON
{
  "hex": "#afc150",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 69.558,
    "s": 47.679,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77445,
    "c": 0.13946,
    "h": 117.4
  },
  "luminance": 0.47833
}

Semantic roles & 50–950 ramp

primary
#AFC150
secondary
#A69ECF
accent
#51D766
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFC150

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

Preview Lab → · Contrast checker → · Palette generator →

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