#FAF065#FAF065

#FAF065 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.7% C 0.158 H 105.2°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#FAF065
RGBrgb(250, 240, 101)
HSLhsl(56, 94%, 69%)
HSVhsv(56, 60%, 98%)
CMYKcmyk(0%, 4%, 59.6%, 2%)
CIE-LABlab(93.27, -13.23, 66.58)
CIE-LCHlch(93.27, 67.89, 101.24°)
OKLaboklab(93.74% -0.0414 0.1526)
OKLCHoklch(93.74% 0.158 105.2)
XYZxyz(72.9359, 83.5862, 24.6012)
Luminance0.8358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF065 #656FFA
analogous
#FAA665 #FAF065 #BAFA65
triadic
#FAF065 #65FAF0 #F065FA
tetradic
#FAF065 #65FAA6 #656FFA #FA65BA
square
#FAF065 #65FAA6 #656FFA #FA65BA
split-complementary
#FAF065 #65BAFA #A665FA
monochromatic
#DDCF07 #F8EA2A #FAF065 #FCF6A0 #FEFCDC

Accessibility & contrast

On white

1.19
#FAF065 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.72
#FAF065 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF065
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF065#FFFFFF#000000##000000
##FAF0651.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE855
Deuteranopia (green-blind)
#FFEF6D
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faf065;
/* rgb */ color: rgb(250, 240, 101);
/* oklch */ color: oklch(93.7% 0.158 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff496',
    500: '#faf065',
    950: '#000000',
  },
}
SCSS
$custom: #faf065;
$custom-light: #fff496;
$custom-dark: #000000;
JSON
{
  "hex": "#faf065",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 101
  },
  "hsl": {
    "h": 55.973,
    "s": 93.711,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93742,
    "c": 0.15814,
    "h": 105.2
  },
  "luminance": 0.83584
}

Semantic roles & 50–950 ramp

primary
#FAF065
secondary
#2F3AD4
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF065

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

Preview Lab → · Contrast checker → · Palette generator →

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