#FAF477#FAF477

#FAF477 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.7% C 0.147 H 106.4°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#FAF477
RGBrgb(250, 244, 119)
HSLhsl(57, 93%, 72%)
HSVhsv(57, 52%, 98%)
CMYKcmyk(0%, 2.4%, 52.4%, 2%)
CIE-LABlab(94.47, -13.89, 60.08)
CIE-LCHlch(94.47, 61.67, 103.02°)
OKLaboklab(94.75% -0.0414 0.1407)
OKLCHoklch(94.75% 0.147 106.4)
XYZxyz(75.1069, 86.3595, 30.1618)
Luminance0.8636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF477 #777DFA
analogous
#FAB377 #FAF477 #BEFA77
triadic
#FAF477 #77FAF4 #F477FA
tetradic
#FAF477 #77FAB3 #777DFA #FA77BE
square
#FAF477 #77FAB3 #777DFA #FA77BE
split-complementary
#FAF477 #77BEFA #B377FA
monochromatic
#EEE309 #F8EF3C #FAF477 #FCF9B2 #FEFDE1

Accessibility & contrast

On white

1.15
#FAF477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#FAF477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF477
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF477#FFFFFF#000000##000000
##FAF4771.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf477;
/* rgb */ color: rgb(250, 244, 119);
/* oklch */ color: oklch(94.7% 0.147 106.4);
Tailwind
colors: {
  custom: {
    50: '#fef7a1',
    500: '#faf477',
    950: '#000000',
  },
}
SCSS
$custom: #faf477;
$custom-light: #fef7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf477",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 119
  },
  "hsl": {
    "h": 57.252,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94748,
    "c": 0.1467,
    "h": 106.4
  },
  "luminance": 0.86357
}

Semantic roles & 50–950 ramp

primary
#FAF477
secondary
#3F46D6
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF477

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

Preview Lab → · Contrast checker → · Palette generator →

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