#CEB742#CEB742

#CEB742 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.136 H 98.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#CEB742
RGBrgb(206, 183, 66)
HSLhsl(50, 59%, 53%)
HSVhsv(50, 68%, 81%)
CMYKcmyk(0%, 11.2%, 68%, 19.2%)
CIE-LABlab(74.43, -4.86, 59.99)
CIE-LCHlch(74.43, 60.19, 94.63°)
OKLaboklab(77.8% -0.0188 0.1347)
OKLCHoklch(77.8% 0.136 98)
XYZxyz(43.3725, 47.3842, 12.0147)
Luminance0.4738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB742 #4259CE
analogous
#CE7142 #CEB742 #9FCE42
triadic
#CEB742 #42CEB7 #B742CE
tetradic
#CEB742 #42CE71 #4259CE #CE429F
square
#CEB742 #42CE71 #4259CE #CE429F
split-complementary
#CEB742 #429FCE #7142CE
monochromatic
#77681F #A7932B #CEB742 #DBCA73 #E7DCA3

Accessibility & contrast

On white

2.00
#CEB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#CEB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB742
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB742#FFFFFF#000000##000000
##CEB7421.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#CFBA49
Tritanopia (blue-blind)
#DEAA9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ceb742;
/* rgb */ color: rgb(206, 183, 66);
/* oklch */ color: oklch(77.8% 0.136 98.0);
Tailwind
colors: {
  custom: {
    50: '#e0cc7d',
    500: '#ceb742',
    950: '#000000',
  },
}
SCSS
$custom: #ceb742;
$custom-light: #e0cc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb742",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 50.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77798,
    "c": 0.13601,
    "h": 98
  },
  "luminance": 0.47382
}

Semantic roles & 50–950 ramp

primary
#CEB742
secondary
#98A2D4
accent
#5FE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB742

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

Preview Lab → · Contrast checker → · Palette generator →

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