#AFC13B#AFC13B

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

Color values

HEX#AFC13B
RGBrgb(175, 193, 59)
HSLhsl(68, 53%, 49%)
HSVhsv(68, 69%, 76%)
CMYKcmyk(9.3%, 0%, 69.4%, 24.3%)
CIE-LABlab(74.55, -23.47, 62.02)
CIE-LCHlch(74.55, 66.32, 110.72°)
OKLaboklab(77.26% -0.0701 0.1388)
OKLCHoklch(77.26% 0.155 116.8)
XYZxyz(37.5394, 47.5701, 11.3412)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC13B #4D3BC1
analogous
#C1903B #AFC13B #6CC13B
triadic
#AFC13B #3BAFC1 #C13BAF
tetradic
#AFC13B #3BC190 #4D3BC1 #C13B6C
square
#AFC13B #3BC190 #4D3BC1 #C13B6C
split-complementary
#AFC13B #3B6CC1 #903BC1
monochromatic
#5A631E #85922D #AFC13B #C3D168 #D6DF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC13B#FFFFFF#000000##000000
##AFC13B1.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)
#CEB725
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#BAB6A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc13b;
/* rgb */ color: rgb(175, 193, 59);
/* oklch */ color: oklch(77.3% 0.155 116.8);
Tailwind
colors: {
  custom: {
    50: '#cad379',
    500: '#afc13b',
    950: '#000000',
  },
}
SCSS
$custom: #afc13b;
$custom-light: #cad379;
$custom-dark: #000000;
JSON
{
  "hex": "#afc13b",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 59
  },
  "hsl": {
    "h": 68.06,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77258,
    "c": 0.15548,
    "h": 116.8
  },
  "luminance": 0.4757
}

Semantic roles & 50–950 ramp

primary
#AFC13B
secondary
#958DCB
accent
#4BDD5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC13B

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

Preview Lab → · Contrast checker → · Palette generator →

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