#AFC134#AFC134

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

Color values

HEX#AFC134
RGBrgb(175, 193, 52)
HSLhsl(68, 58%, 48%)
HSVhsv(68, 73%, 76%)
CMYKcmyk(9.3%, 0%, 73.1%, 24.3%)
CIE-LABlab(74.51, -23.83, 64.49)
CIE-LCHlch(74.51, 68.75, 110.28°)
OKLaboklab(77.21% -0.0718 0.1428)
OKLCHoklch(77.21% 0.16 116.7)
XYZxyz(37.3699, 47.5023, 10.4484)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC134 #4634C1
analogous
#C18D34 #AFC134 #68C134
triadic
#AFC134 #34AFC1 #C134AF
tetradic
#AFC134 #34C18D #4634C1 #C13468
square
#AFC134 #34C18D #4634C1 #C13468
split-complementary
#AFC134 #3468C1 #8D34C1
monochromatic
#58611A #839127 #AFC134 #C5D45E #D6E18F

Accessibility & contrast

On white

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

On black

10.50
#AFC134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC134
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC134#FFFFFF#000000##000000
##AFC1341.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc134;
/* rgb */ color: rgb(175, 193, 52);
/* oklch */ color: oklch(77.2% 0.160 116.7);
Tailwind
colors: {
  custom: {
    50: '#cad376',
    500: '#afc134',
    950: '#000000',
  },
}
SCSS
$custom: #afc134;
$custom-light: #cad376;
$custom-dark: #000000;
JSON
{
  "hex": "#afc134",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 52
  },
  "hsl": {
    "h": 67.66,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7721,
    "c": 0.15982,
    "h": 116.7
  },
  "luminance": 0.47502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC134

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

Preview Lab → · Contrast checker → · Palette generator →

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