#CFC368#CFC368

#CFC368 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.114 H 101.9°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CFC368
RGBrgb(207, 195, 104)
HSLhsl(53, 52%, 61%)
HSVhsv(53, 50%, 81%)
CMYKcmyk(0%, 5.8%, 49.8%, 18.8%)
CIE-LABlab(78.05, -7.92, 46.85)
CIE-LCHlch(78.05, 47.51, 99.59°)
OKLaboklab(80.8% -0.0233 0.1112)
OKLCHoklch(80.8% 0.114 101.9)
XYZxyz(47.7473, 53.2967, 20.8662)
Luminance0.5330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC368 #6874CF
analogous
#CF8F68 #CFC368 #A7CF68
triadic
#CFC368 #68CFC3 #C368CF
tetradic
#CFC368 #68CF8F #6874CF #CF68A7
square
#CFC368 #68CF8F #6874CF #CF68A7
split-complementary
#CFC368 #68A7CF #8F68CF
monochromatic
#8F842D #BEAE3C #CFC368 #DED596 #EDE8C5

Accessibility & contrast

On white

1.80
#CFC368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CFC368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC368
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC368#FFFFFF#000000##000000
##CFC3681.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE60
Deuteranopia (green-blind)
#D5C36C
Tritanopia (blue-blind)
#DCB8AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc368;
/* rgb */ color: rgb(207, 195, 104);
/* oklch */ color: oklch(80.8% 0.114 101.9);
Tailwind
colors: {
  custom: {
    50: '#e0d595',
    500: '#cfc368',
    950: '#000000',
  },
}
SCSS
$custom: #cfc368;
$custom-light: #e0d595;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc368",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 104
  },
  "hsl": {
    "h": 53.01,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80804,
    "c": 0.11365,
    "h": 101.9
  },
  "luminance": 0.53295
}

Semantic roles & 50–950 ramp

primary
#CFC368
secondary
#464F95
accent
#38BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC368

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

Preview Lab → · Contrast checker → · Palette generator →

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