#AFC230#AFC230

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

Color values

HEX#AFC230
RGBrgb(175, 194, 48)
HSLhsl(68, 60%, 47%)
HSVhsv(68, 75%, 76%)
CMYKcmyk(9.8%, 0%, 75.3%, 23.9%)
CIE-LABlab(74.77, -24.51, 66.06)
CIE-LCHlch(74.77, 70.46, 110.36°)
OKLaboklab(77.41% -0.074 0.1454)
OKLCHoklch(77.41% 0.163 117)
XYZxyz(37.5054, 47.9114, 10.0678)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC230 #4330C2
analogous
#C28C30 #AFC230 #66C230
triadic
#AFC230 #30AFC2 #C230AF
tetradic
#AFC230 #30C28C #4330C2 #C23066
square
#AFC230 #30C28C #4330C2 #C23066
split-complementary
#AFC230 #3066C2 #8C30C2
monochromatic
#566018 #839124 #AFC230 #C6D659 #D7E28A

Accessibility & contrast

On white

1.98
#AFC230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC230#FFFFFF#000000##000000
##AFC2301.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70B
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc230;
/* rgb */ color: rgb(175, 194, 48);
/* oklch */ color: oklch(77.4% 0.163 117.0);
Tailwind
colors: {
  custom: {
    50: '#cbd474',
    500: '#afc230',
    950: '#000000',
  },
}
SCSS
$custom: #afc230;
$custom-light: #cbd474;
$custom-dark: #000000;
JSON
{
  "hex": "#afc230",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 48
  },
  "hsl": {
    "h": 67.808,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77411,
    "c": 0.16316,
    "h": 117
  },
  "luminance": 0.47911
}

Semantic roles & 50–950 ramp

primary
#AFC230
secondary
#8B82CC
accent
#44E359
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC230

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

Preview Lab → · Contrast checker → · Palette generator →

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