#FAF36B#FAF36B

#FAF36B is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.4% C 0.156 H 106.3°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#FAF36B
RGBrgb(250, 243, 107)
HSLhsl(57, 93%, 70%)
HSVhsv(57, 57%, 98%)
CMYKcmyk(0%, 2.8%, 57.2%, 2%)
CIE-LABlab(94.09, -14.29, 64.94)
CIE-LCHlch(94.09, 66.50, 102.41°)
OKLaboklab(94.41% -0.0438 0.1499)
OKLCHoklch(94.41% 0.156 106.3)
XYZxyz(74.1311, 85.4890, 26.5031)
Luminance0.8549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF36B #6B72FA
analogous
#FAAC6B #FAF36B #B9FA6B
triadic
#FAF36B #6BFAF3 #F36BFA
tetradic
#FAF36B #6BFAAC #6B72FA #FA6BB9
square
#FAF36B #6BFAAC #6B72FA #FA6BB9
split-complementary
#FAF36B #6BB9FA #AC6BFA
monochromatic
#E3D808 #F8EE30 #FAF36B #FCF8A6 #FEFDE1

Accessibility & contrast

On white

1.16
#FAF36B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#FAF36B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF36B
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF36B#FFFFFF#000000##000000
##FAF36B1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5C
Deuteranopia (green-blind)
#FFF172
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf36b;
/* rgb */ color: rgb(250, 243, 107);
/* oklch */ color: oklch(94.4% 0.156 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff69a',
    500: '#faf36b',
    950: '#000000',
  },
}
SCSS
$custom: #faf36b;
$custom-light: #fff69a;
$custom-dark: #000000;
JSON
{
  "hex": "#faf36b",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 107
  },
  "hsl": {
    "h": 57.063,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.94414,
    "c": 0.15614,
    "h": 106.3
  },
  "luminance": 0.85487
}

Semantic roles & 50–950 ramp

primary
#FAF36B
secondary
#353CD5
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF36B

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

Preview Lab → · Contrast checker → · Palette generator →

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