#F9C74B#F9C74B

#F9C74B is a very light, vivid orange. Relative luminance 0.615; OKLCH L 85.2% C 0.148 H 86.3°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#F9C74B
RGBrgb(249, 199, 75)
HSLhsl(43, 94%, 64%)
HSVhsv(43, 70%, 98%)
CMYKcmyk(0%, 20.1%, 69.9%, 2.4%)
CIE-LABlab(82.65, 5.53, 66.04)
CIE-LCHlch(82.65, 66.28, 85.21°)
OKLaboklab(85.25% 0.0095 0.1476)
OKLCHoklch(85.25% 0.148 86.3)
XYZxyz(60.7639, 61.4986, 15.3252)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9C74B #4B7DF9
analogous
#F9704B #F9C74B #D4F94B
triadic
#F9C74B #4BF9C7 #C74BF9
tetradic
#F9C74B #4BF970 #4B7DF9 #F94BD4
square
#F9C74B #4BF970 #4B7DF9 #F94BD4
split-complementary
#F9C74B #4BD4F9 #704BF9
monochromatic
#C38D07 #F7B510 #F9C74B #FBD986 #FDECC1

Accessibility & contrast

On white

1.58
#F9C74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#F9C74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9C74B
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9C74B#FFFFFF#000000##000000
##F9C74B1.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63A
Deuteranopia (green-blind)
#EAD351
Tritanopia (blue-blind)
#FFB6AE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f9c74b;
/* rgb */ color: rgb(249, 199, 75);
/* oklch */ color: oklch(85.2% 0.148 86.3);
Tailwind
colors: {
  custom: {
    50: '#ffd784',
    500: '#f9c74b',
    950: '#000000',
  },
}
SCSS
$custom: #f9c74b;
$custom-light: #ffd784;
$custom-dark: #000000;
JSON
{
  "hex": "#f9c74b",
  "rgb": {
    "r": 249,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 42.759,
    "s": 93.548,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85248,
    "c": 0.14787,
    "h": 86.3
  },
  "luminance": 0.61495
}

Semantic roles & 50–950 ramp

primary
#F9C74B
secondary
#2854C0
accent
#42E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#19140B
muted
#87837E

Preview Lab

Preview with #F9C74B

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

Preview Lab → · Contrast checker → · Palette generator →

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