#AFC234#AFC234

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

Color values

HEX#AFC234
RGBrgb(175, 194, 52)
HSLhsl(68, 58%, 48%)
HSVhsv(68, 73%, 76%)
CMYKcmyk(9.8%, 0%, 73.2%, 23.9%)
CIE-LABlab(74.79, -24.32, 64.76)
CIE-LCHlch(74.79, 69.17, 110.59°)
OKLaboklab(77.44% -0.0732 0.1433)
OKLCHoklch(77.44% 0.161 117)
XYZxyz(37.5917, 47.9459, 10.5223)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC234 #4734C2
analogous
#C28E34 #AFC234 #68C234
triadic
#AFC234 #34AFC2 #C234AF
tetradic
#AFC234 #34C28E #4734C2 #C23468
square
#AFC234 #34C28E #4734C2 #C23468
split-complementary
#AFC234 #3468C2 #8E34C2
monochromatic
#58611A #839227 #AFC234 #C4D45F #D6E18F

Accessibility & contrast

On white

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

On black

10.59
#AFC234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC234
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC234#FFFFFF#000000##000000
##AFC2341.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc234;
/* rgb */ color: rgb(175, 194, 52);
/* oklch */ color: oklch(77.4% 0.161 117.0);
Tailwind
colors: {
  custom: {
    50: '#cad476',
    500: '#afc234',
    950: '#000000',
  },
}
SCSS
$custom: #afc234;
$custom-light: #cad476;
$custom-dark: #000000;
JSON
{
  "hex": "#afc234",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 52
  },
  "hsl": {
    "h": 68.028,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77435,
    "c": 0.16093,
    "h": 117
  },
  "luminance": 0.47945
}

Semantic roles & 50–950 ramp

primary
#AFC234
secondary
#8F86CC
accent
#47E15B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC234

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

Preview Lab → · Contrast checker → · Palette generator →

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