#CEC344#CEC344

#CEC344 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.145 H 104.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CEC344
RGBrgb(206, 195, 68)
HSLhsl(55, 58%, 54%)
HSVhsv(55, 67%, 81%)
CMYKcmyk(0%, 5.3%, 67%, 19.2%)
CIE-LABlab(77.62, -10.94, 62.45)
CIE-LCHlch(77.62, 63.40, 99.93°)
OKLaboklab(80.33% -0.0359 0.1402)
OKLCHoklch(80.33% 0.145 104.4)
XYZxyz(46.0139, 52.5711, 13.1912)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC344 #444FCE
analogous
#CE7E44 #CEC344 #94CE44
triadic
#CEC344 #44CEC3 #C344CE
tetradic
#CEC344 #44CE7E #444FCE #CE4494
square
#CEC344 #44CE7E #444FCE #CE4494
split-complementary
#CEC344 #4494CE #7E44CE
monochromatic
#78711F #A99F2C #CEC344 #DBD374 #E7E2A5

Accessibility & contrast

On white

1.82
#CEC344 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CEC344 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC344
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC344#FFFFFF#000000##000000
##CEC3441.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC32
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#DDB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec344;
/* rgb */ color: rgb(206, 195, 68);
/* oklch */ color: oklch(80.3% 0.145 104.4);
Tailwind
colors: {
  custom: {
    50: '#e0d47f',
    500: '#cec344',
    950: '#000000',
  },
}
SCSS
$custom: #cec344;
$custom-light: #e0d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec344",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 68
  },
  "hsl": {
    "h": 55.217,
    "s": 58.475,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80332,
    "c": 0.14474,
    "h": 104.4
  },
  "luminance": 0.52569
}

Semantic roles & 50–950 ramp

primary
#CEC344
secondary
#363C80
accent
#53E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC344

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

Preview Lab → · Contrast checker → · Palette generator →

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