#CEBA5F#CEBA5F

#CEBA5F is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.114 H 97.2°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CEBA5F
RGBrgb(206, 186, 95)
HSLhsl(49, 53%, 59%)
HSVhsv(49, 54%, 81%)
CMYKcmyk(0%, 9.7%, 53.9%, 19.2%)
CIE-LABlab(75.49, -4.44, 48.14)
CIE-LCHlch(75.49, 48.35, 95.27°)
OKLaboklab(78.72% -0.0142 0.1133)
OKLCHoklch(78.72% 0.114 97.2)
XYZxyz(45.0797, 49.0677, 17.9207)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBA5F #5F73CE
analogous
#CE835F #CEBA5F #ABCE5F
triadic
#CEBA5F #5FCEBA #BA5FCE
tetradic
#CEBA5F #5FCE83 #5F73CE #CE5FAB
square
#CEBA5F #5FCE83 #5F73CE #CE5FAB
split-complementary
#CEBA5F #5FABCE #835FCE
monochromatic
#89782A #B8A138 #CEBA5F #DCCE8E #EBE2BD

Accessibility & contrast

On white

1.94
#CEBA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CEBA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBA5F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBA5F#FFFFFF#000000##000000
##CEBA5F1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB657
Deuteranopia (green-blind)
#CFBD63
Tritanopia (blue-blind)
#DCAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ceba5f;
/* rgb */ color: rgb(206, 186, 95);
/* oklch */ color: oklch(78.7% 0.114 97.2);
Tailwind
colors: {
  custom: {
    50: '#dfce8f',
    500: '#ceba5f',
    950: '#000000',
  },
}
SCSS
$custom: #ceba5f;
$custom-light: #dfce8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ceba5f",
  "rgb": {
    "r": 206,
    "g": 186,
    "b": 95
  },
  "hsl": {
    "h": 49.189,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78724,
    "c": 0.11414,
    "h": 97.2
  },
  "luminance": 0.49066
}

Semantic roles & 50–950 ramp

primary
#CEBA5F
secondary
#AFB6DA
accent
#65DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CEBA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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