#CEB74F#CEB74F

#CEB74F is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.9% C 0.126 H 96.9°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CEB74F
RGBrgb(206, 183, 79)
HSLhsl(49, 56%, 56%)
HSVhsv(49, 62%, 81%)
CMYKcmyk(0%, 11.2%, 61.7%, 19.2%)
CIE-LABlab(74.54, -4.07, 54.53)
CIE-LCHlch(74.54, 54.68, 94.27°)
OKLaboklab(77.92% -0.0151 0.1251)
OKLCHoklch(77.92% 0.126 96.9)
XYZxyz(43.8002, 47.5553, 14.2676)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB74F #4F66CE
analogous
#CE774F #CEB74F #A5CE4F
triadic
#CEB74F #4FCEB7 #B74FCE
tetradic
#CEB74F #4FCE77 #4F66CE #CE4FA5
square
#CEB74F #4FCE77 #4F66CE #CE4FA5
split-complementary
#CEB74F #4FA5CE #774FCE
monochromatic
#7F6F23 #AF9831 #CEB74F #DBCB7F #E9DEAF

Accessibility & contrast

On white

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

On black

10.51
#CEB74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB74F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB74F#FFFFFF#000000##000000
##CEB74F1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B344
Deuteranopia (green-blind)
#CEBB54
Tritanopia (blue-blind)
#DDAAA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ceb74f;
/* rgb */ color: rgb(206, 183, 79);
/* oklch */ color: oklch(77.9% 0.126 96.9);
Tailwind
colors: {
  custom: {
    50: '#e0cc84',
    500: '#ceb74f',
    950: '#000000',
  },
}
SCSS
$custom: #ceb74f;
$custom-light: #e0cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb74f",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 49.134,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77919,
    "c": 0.12599,
    "h": 96.9
  },
  "luminance": 0.47553
}

Semantic roles & 50–950 ramp

primary
#CEB74F
secondary
#A2ACD7
accent
#64E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB74F

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

Preview Lab → · Contrast checker → · Palette generator →

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