#CFC388#CFC388

#CFC388 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.078 H 98.1°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CFC388
RGBrgb(207, 195, 136)
HSLhsl(50, 43%, 67%)
HSVhsv(50, 34%, 81%)
CMYKcmyk(0%, 5.8%, 34.3%, 18.8%)
CIE-LABlab(78.51, -4.55, 31.22)
CIE-LCHlch(78.51, 31.55, 98.30°)
OKLaboklab(81.31% -0.011 0.0775)
OKLCHoklch(81.31% 0.078 98.1)
XYZxyz(49.6918, 54.0745, 31.1076)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC388 #8894CF
analogous
#CFA088 #CFC388 #B8CF88
triadic
#CFC388 #88CFC3 #C388CF
tetradic
#CFC388 #88CFA0 #8894CF #CF88B8
square
#CFC388 #88CFA0 #8894CF #CF88B8
split-complementary
#CFC388 #88B8CF #A088CF
monochromatic
#9D8D3F #BDAD5C #CFC388 #E1D9B4 #F2EFDF

Accessibility & contrast

On white

1.78
#CFC388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CFC388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC388
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC388#FFFFFF#000000##000000
##CFC3881.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC084
Deuteranopia (green-blind)
#D2C48A
Tritanopia (blue-blind)
#DABBB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc388;
/* rgb */ color: rgb(207, 195, 136);
/* oklch */ color: oklch(81.3% 0.078 98.1);
Tailwind
colors: {
  custom: {
    50: '#ded5ab',
    500: '#cfc388',
    950: '#000000',
  },
}
SCSS
$custom: #cfc388;
$custom-light: #ded5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc388",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 136
  },
  "hsl": {
    "h": 49.859,
    "s": 42.515,
    "l": 67.255
  },
  "oklch": {
    "l": 0.81313,
    "c": 0.07831,
    "h": 98.1
  },
  "luminance": 0.54073
}

Semantic roles & 50–950 ramp

primary
#CFC388
secondary
#5865A3
accent
#46B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC388

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

Preview Lab → · Contrast checker → · Palette generator →

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