#CFC362#CFC362

#CFC362 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.120 H 102.3°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CFC362
RGBrgb(207, 195, 98)
HSLhsl(53, 53%, 60%)
HSVhsv(53, 53%, 81%)
CMYKcmyk(0%, 5.8%, 52.7%, 18.8%)
CIE-LABlab(77.98, -8.43, 49.65)
CIE-LCHlch(77.98, 50.36, 99.64°)
OKLaboklab(80.73% -0.0255 0.1168)
OKLCHoklch(80.73% 0.12 102.3)
XYZxyz(47.4533, 53.1791, 19.3179)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC362 #626ECF
analogous
#CF8C62 #CFC362 #A5CF62
triadic
#CFC362 #62CFC3 #C362CF
tetradic
#CFC362 #62CF8C #626ECF #CF62A5
square
#CFC362 #62CF8C #626ECF #CF62A5
split-complementary
#CFC362 #62A5CF #8C62CF
monochromatic
#8C812B #BBAC39 #CFC362 #DDD591 #ECE7C0

Accessibility & contrast

On white

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

On black

11.64
#CFC362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC362
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC362#FFFFFF#000000##000000
##CFC3621.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#D6C367
Tritanopia (blue-blind)
#DDB8AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc362;
/* rgb */ color: rgb(207, 195, 98);
/* oklch */ color: oklch(80.7% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#e0d491',
    500: '#cfc362',
    950: '#000000',
  },
}
SCSS
$custom: #cfc362;
$custom-light: #e0d491;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc362",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 53.394,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80727,
    "c": 0.11955,
    "h": 102.3
  },
  "luminance": 0.53177
}

Semantic roles & 50–950 ramp

primary
#CFC362
secondary
#434C92
accent
#5BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC362

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

Preview Lab → · Contrast checker → · Palette generator →

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