#CEB340#CEB340

#CEB340 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.134 H 95.7°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CEB340
RGBrgb(206, 179, 64)
HSLhsl(49, 59%, 53%)
HSVhsv(49, 69%, 81%)
CMYKcmyk(0%, 13.1%, 68.9%, 19.2%)
CIE-LABlab(73.37, -2.88, 59.72)
CIE-LCHlch(73.37, 59.79, 92.76°)
OKLaboklab(76.95% -0.0134 0.1338)
OKLCHoklch(76.95% 0.134 95.7)
XYZxyz(42.5012, 45.7344, 11.4385)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB340 #405BCE
analogous
#CE6C40 #CEB340 #A2CE40
triadic
#CEB340 #40CEB3 #B340CE
tetradic
#CEB340 #40CE6C #405BCE #CE40A2
square
#CEB340 #40CE6C #405BCE #CE40A2
split-complementary
#CEB340 #40A2CE #6C40CE
monochromatic
#75651E #A68F2B #CEB340 #DAC671 #E7DAA1

Accessibility & contrast

On white

2.07
#CEB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#CEB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB340
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB340#FFFFFF#000000##000000
##CEB3401.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#CCB846
Tritanopia (blue-blind)
#DEA59C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb340;
/* rgb */ color: rgb(206, 179, 64);
/* oklch */ color: oklch(77.0% 0.134 95.7);
Tailwind
colors: {
  custom: {
    50: '#e1c97b',
    500: '#ceb340',
    950: '#000000',
  },
}
SCSS
$custom: #ceb340;
$custom-light: #e1c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb340",
  "rgb": {
    "r": 206,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 48.592,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76953,
    "c": 0.13445,
    "h": 95.7
  },
  "luminance": 0.45732
}

Semantic roles & 50–950 ramp

primary
#CEB340
secondary
#96A2D4
accent
#63E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB340

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

Preview Lab → · Contrast checker → · Palette generator →

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