#AFC274#AFC274

#AFC274 is a light, moderate yellow-green. Relative luminance 0.490; OKLCH L 78.1% C 0.105 H 120.1°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#AFC274
RGBrgb(175, 194, 116)
HSLhsl(75, 39%, 61%)
HSVhsv(75, 40%, 76%)
CMYKcmyk(9.8%, 0%, 40.2%, 23.9%)
CIE-LABlab(75.43, -19.00, 37.06)
CIE-LCHlch(75.43, 41.64, 117.14°)
OKLaboklab(78.15% -0.0523 0.0905)
OKLCHoklch(78.15% 0.105 120.1)
XYZxyz(40.1234, 48.9586, 23.8558)
Luminance0.4896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC274 #8774C2
analogous
#C2AE74 #AFC274 #88C274
triadic
#AFC274 #74AFC2 #C274AF
tetradic
#AFC274 #74C2AE #8774C2 #C27488
square
#AFC274 #74C2AE #8774C2 #C27488
split-complementary
#AFC274 #7488C2 #AE74C2
monochromatic
#718239 #95AD4C #AFC274 #C7D59F #E0E7C9

Accessibility & contrast

On white

1.95
#AFC274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#AFC274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC274
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC274#FFFFFF#000000##000000
##AFC2741.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBA6E
Deuteranopia (green-blind)
#C9BA78
Tritanopia (blue-blind)
#B6BBAF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc274;
/* rgb */ color: rgb(175, 194, 116);
/* oklch */ color: oklch(78.1% 0.105 120.1);
Tailwind
colors: {
  custom: {
    50: '#c8d49d',
    500: '#afc274',
    950: '#000000',
  },
}
SCSS
$custom: #afc274;
$custom-light: #c8d49d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc274",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 116
  },
  "hsl": {
    "h": 74.615,
    "s": 39,
    "l": 60.784
  },
  "oklch": {
    "l": 0.78149,
    "c": 0.10453,
    "h": 120.1
  },
  "luminance": 0.48958
}

Semantic roles & 50–950 ramp

primary
#AFC274
secondary
#C1BAD8
accent
#34B252
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #AFC274

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

Preview Lab → · Contrast checker → · Palette generator →

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