#AFC139#AFC139

#AFC139 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.157 H 116.8°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#AFC139
RGBrgb(175, 193, 57)
HSLhsl(68, 54%, 49%)
HSVhsv(68, 70%, 76%)
CMYKcmyk(9.3%, 0%, 70.5%, 24.3%)
CIE-LABlab(74.54, -23.58, 62.75)
CIE-LCHlch(74.54, 67.03, 110.59°)
OKLaboklab(77.24% -0.0706 0.14)
OKLCHoklch(77.24% 0.157 116.8)
XYZxyz(37.4886, 47.5498, 11.0732)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC139 #4B39C1
analogous
#C18F39 #AFC139 #6BC139
triadic
#AFC139 #39AFC1 #C139AF
tetradic
#AFC139 #39C18F #4B39C1 #C1396B
square
#AFC139 #39C18F #4B39C1 #C1396B
split-complementary
#AFC139 #396BC1 #8F39C1
monochromatic
#59631D #84922B #AFC139 #C3D266 #D6E095

Accessibility & contrast

On white

2.00
#AFC139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#AFC139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC139
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC139#FFFFFF#000000##000000
##AFC1391.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB722
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc139;
/* rgb */ color: rgb(175, 193, 57);
/* oklch */ color: oklch(77.2% 0.157 116.8);
Tailwind
colors: {
  custom: {
    50: '#cad378',
    500: '#afc139',
    950: '#000000',
  },
}
SCSS
$custom: #afc139;
$custom-light: #cad378;
$custom-dark: #000000;
JSON
{
  "hex": "#afc139",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 67.941,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77244,
    "c": 0.15677,
    "h": 116.8
  },
  "luminance": 0.47549
}

Semantic roles & 50–950 ramp

primary
#AFC139
secondary
#938BCB
accent
#4ADE5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC139

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

Preview Lab → · Contrast checker → · Palette generator →

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