#AFB83C#AFB83C

#AFB83C is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.145 H 113.4°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#AFB83C
RGBrgb(175, 184, 60)
HSLhsl(64, 51%, 48%)
HSVhsv(64, 67%, 72%)
CMYKcmyk(4.9%, 0%, 67.4%, 27.8%)
CIE-LABlab(72.04, -18.95, 59.11)
CIE-LCHlch(72.04, 62.08, 107.78°)
OKLaboklab(75.25% -0.0575 0.1328)
OKLCHoklch(75.25% 0.145 113.4)
XYZxyz(35.6363, 43.7219, 10.8360)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB83C #453CB8
analogous
#B8833C #AFB83C #71B83C
triadic
#AFB83C #3CAFB8 #B83CAF
tetradic
#AFB83C #3CB883 #453CB8 #B83C71
square
#AFB83C #3CB883 #453CB8 #B83C71
split-complementary
#AFB83C #3C71B8 #833CB8
monochromatic
#575C1E #838A2D #AFB83C #C5CD65 #D6DC93

Accessibility & contrast

On white

2.16
#AFB83C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#AFB83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB83C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB83C#FFFFFF#000000##000000
##AFB83C1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2A
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#BAAD9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb83c;
/* rgb */ color: rgb(175, 184, 60);
/* oklch */ color: oklch(75.2% 0.145 113.4);
Tailwind
colors: {
  custom: {
    50: '#cacd79',
    500: '#afb83c',
    950: '#000000',
  },
}
SCSS
$custom: #afb83c;
$custom-light: #cacd79;
$custom-dark: #000000;
JSON
{
  "hex": "#afb83c",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 60
  },
  "hsl": {
    "h": 64.355,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75247,
    "c": 0.14468,
    "h": 113.4
  },
  "luminance": 0.43721
}

Semantic roles & 50–950 ramp

primary
#AFB83C
secondary
#8D89C7
accent
#4DDA58
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB83C

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

Preview Lab → · Contrast checker → · Palette generator →

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