#AFB63C#AFB63C

#AFB63C is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.8% C 0.142 H 112.6°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#AFB63C
RGBrgb(175, 182, 60)
HSLhsl(63, 50%, 47%)
HSVhsv(63, 67%, 71%)
CMYKcmyk(3.8%, 0%, 67%, 28.6%)
CIE-LABlab(71.48, -17.95, 58.55)
CIE-LCHlch(71.48, 61.24, 107.04°)
OKLaboklab(74.8% -0.0546 0.1316)
OKLCHoklch(74.8% 0.142 112.6)
XYZxyz(35.2238, 42.8969, 10.6985)
Luminance0.4290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB63C #433CB6
analogous
#B6803C #AFB63C #72B63C
triadic
#AFB63C #3CAFB6 #B63CAF
tetradic
#AFB63C #3CB680 #433CB6 #B63C72
square
#AFB63C #3CB680 #433CB6 #B63C72
split-complementary
#AFB63C #3C72B6 #803CB6
monochromatic
#565A1E #83882D #AFB63C #C6CC63 #D7DB91

Accessibility & contrast

On white

2.19
#AFB63C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#AFB63C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB63C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB63C#FFFFFF#000000##000000
##AFB63C1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE2A
Deuteranopia (green-blind)
#C4B045
Tritanopia (blue-blind)
#BBAB9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb63c;
/* rgb */ color: rgb(175, 182, 60);
/* oklch */ color: oklch(74.8% 0.142 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacb79',
    500: '#afb63c',
    950: '#000000',
  },
}
SCSS
$custom: #afb63c;
$custom-light: #cacb79;
$custom-dark: #000000;
JSON
{
  "hex": "#afb63c",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 60
  },
  "hsl": {
    "h": 63.443,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74801,
    "c": 0.14249,
    "h": 112.6
  },
  "luminance": 0.42896
}

Semantic roles & 50–950 ramp

primary
#AFB63C
secondary
#8B88C6
accent
#4EDA56
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB63C

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

Preview Lab → · Contrast checker → · Palette generator →

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