Sunflower#FFC512

#FFC512 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 85.2% C 0.172 H 86.7°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Sunflower — editorial page

Color values

HEX#FFC512
RGBrgb(255, 197, 18)
HSLhsl(45, 100%, 54%)
HSVhsv(45, 93%, 100%)
CMYKcmyk(0%, 22.7%, 92.9%, 0%)
CIE-LABlab(82.51, 7.44, 82.20)
CIE-LCHlch(82.51, 82.53, 84.83°)
OKLaboklab(85.2% 0.01 0.1716)
OKLCHoklch(85.2% 0.172 86.7)
XYZxyz(61.3197, 61.2408, 9.1632)
Luminance0.6124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFC512 #124CFF
analogous
#FF4E12 #FFC512 #C3FF12
triadic
#FFC512 #12FFC5 #C512FF
tetradic
#FFC512 #12FF4E #124CFF #FF12C3
square
#FFC512 #12FF4E #124CFF #FF12C3
split-complementary
#FFC512 #12C3FF #4E12FF
monochromatic
#977200 #D4A000 #FFC512 #FFD44F #FFE38C

Accessibility & contrast

On white

1.59
#FFC512 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#FFC512 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFC512
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFC512#FFFFFF#000000##000000
##FFC5121.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC400
Deuteranopia (green-blind)
#EDD424
Tritanopia (blue-blind)
#FFB1A8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ffc512;
/* rgb */ color: rgb(255, 197, 18);
/* oklch */ color: oklch(85.2% 0.172 86.7);
Tailwind
colors: {
  custom: {
    50: '#ffd66c',
    500: '#ffc512',
    950: '#000000',
  },
}
SCSS
$custom: #ffc512;
$custom-light: #ffd66c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffc512",
  "rgb": {
    "r": 255,
    "g": 197,
    "b": 18
  },
  "hsl": {
    "h": 45.316,
    "s": 100,
    "l": 53.529
  },
  "oklch": {
    "l": 0.85197,
    "c": 0.17188,
    "h": 86.7
  },
  "luminance": 0.61236
}

Semantic roles & 50–950 ramp

primary
#FFC512
secondary
#1B3A9A
accent
#5DFF29
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#1A1408
muted
#87837D

Preview Lab

Preview with #FFC512

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

Preview Lab → · Contrast checker → · Palette generator →

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