#AFBC5E#AFBC5E

#AFBC5E is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.120 H 115.8°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#AFBC5E
RGBrgb(175, 188, 94)
HSLhsl(68, 41%, 55%)
HSVhsv(68, 50%, 74%)
CMYKcmyk(6.9%, 0%, 50%, 26.3%)
CIE-LABlab(73.47, -18.35, 45.61)
CIE-LCHlch(73.47, 49.16, 111.91°)
OKLaboklab(76.49% -0.0523 0.1081)
OKLCHoklch(76.49% 0.12 115.8)
XYZxyz(37.6833, 45.8890, 17.4598)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC5E #6B5EBC
analogous
#BC9A5E #AFBC5E #80BC5E
triadic
#AFBC5E #5EAFBC #BC5EAF
tetradic
#AFBC5E #5EBC9A #6B5EBC #BC5E80
square
#AFBC5E #5EBC9A #6B5EBC #BC5E80
split-complementary
#AFBC5E #5E80BC #9A5EBC
monochromatic
#68712F #8F9C41 #AFBC5E #C4CE89 #DAE0B4

Accessibility & contrast

On white

2.06
#AFBC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#AFBC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC5E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC5E#FFFFFF#000000##000000
##AFBC5E1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B455
Deuteranopia (green-blind)
#C6B563
Tritanopia (blue-blind)
#B8B3A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc5e;
/* rgb */ color: rgb(175, 188, 94);
/* oklch */ color: oklch(76.5% 0.120 115.8);
Tailwind
colors: {
  custom: {
    50: '#c9d08e',
    500: '#afbc5e',
    950: '#000000',
  },
}
SCSS
$custom: #afbc5e;
$custom-light: #c9d08e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc5e",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 94
  },
  "hsl": {
    "h": 68.298,
    "s": 41.228,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76494,
    "c": 0.1201,
    "h": 115.8
  },
  "luminance": 0.45889
}

Semantic roles & 50–950 ramp

primary
#AFBC5E
secondary
#ADA7CF
accent
#57D168
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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