#CEC367#CEC367

#CEC367 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.115 H 102.5°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CEC367
RGBrgb(206, 195, 103)
HSLhsl(54, 51%, 61%)
HSVhsv(54, 50%, 81%)
CMYKcmyk(0%, 5.3%, 50%, 19.2%)
CIE-LABlab(77.95, -8.41, 47.20)
CIE-LCHlch(77.95, 47.94, 100.11°)
OKLaboklab(80.7% -0.0248 0.1119)
OKLCHoklch(80.7% 0.115 102.5)
XYZxyz(47.4182, 53.1328, 20.5872)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC367 #6772CE
analogous
#CE8F67 #CEC367 #A5CE67
triadic
#CEC367 #67CEC3 #C367CE
tetradic
#CEC367 #67CE8F #6772CE #CE67A5
square
#CEC367 #67CE8F #6772CE #CE67A5
split-complementary
#CEC367 #67A5CE #8F67CE
monochromatic
#8D832D #BBAE3C #CEC367 #DDD595 #ECE8C4

Accessibility & contrast

On white

1.81
#CEC367 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CEC367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC367
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC367#FFFFFF#000000##000000
##CEC3671.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE5F
Deuteranopia (green-blind)
#D5C36B
Tritanopia (blue-blind)
#DBB8AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec367;
/* rgb */ color: rgb(206, 195, 103);
/* oklch */ color: oklch(80.7% 0.115 102.5);
Tailwind
colors: {
  custom: {
    50: '#dfd594',
    500: '#cec367',
    950: '#000000',
  },
}
SCSS
$custom: #cec367;
$custom-light: #dfd594;
$custom-dark: #000000;
JSON
{
  "hex": "#cec367",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 103
  },
  "hsl": {
    "h": 53.592,
    "s": 51.244,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80703,
    "c": 0.11465,
    "h": 102.5
  },
  "luminance": 0.53131
}

Semantic roles & 50–950 ramp

primary
#CEC367
secondary
#464E94
accent
#37BF27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC367

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

Preview Lab → · Contrast checker → · Palette generator →

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